source: src/SymTab/Mangler.h @ d35e796

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumwith_gc
Last change on this file since d35e796 was d7d9a60, checked in by Rob Schluntz <rschlunt@…>, 6 years ago

Convert Mangler to PassVisitor?

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[0dd3a2f]1//
2// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
[25bd9074]7// Mangler.h --
[0dd3a2f]8//
9// Author           : Richard C. Bilson
10// Created On       : Sun May 17 21:44:03 2015
[6b0b624]11// Last Modified By : Peter A. Buhr
12// Last Modified On : Sat Jul 22 09:45:30 2017
13// Update Count     : 15
[0dd3a2f]14//
15
[6b0b624]16#pragma once
[51b7345]17
[30f9072]18#include <map>                // for map, map<>::value_compare
19#include <sstream>            // for ostringstream
20#include <string>             // for string
21#include <utility>            // for pair
22
23#include "SynTree/SynTree.h"  // for Types
24#include "SynTree/Visitor.h"  // for Visitor, maybeAccept
[51b7345]25
26namespace SymTab {
[d7d9a60]27        namespace Mangler {
[69911c11]28                /// Mangle syntax tree object; primary interface to clients
[d7d9a60]29                std::string mangle( BaseSyntaxNode * decl, bool mangleOverridable = true, bool typeMode = false, bool mangleGenericParams = true );
30
[69911c11]31                /// Mangle a type name; secondary interface
[d7d9a60]32                std::string mangleType( Type* ty );
[e35f30a]33                /// Mangle ignoring generic type parameters
[d7d9a60]34                std::string mangleConcrete( Type* ty );
35        } // Mangler
[ea3eb06]36} // SymTab
37
[0dd3a2f]38// Local Variables: //
39// tab-width: 4 //
40// mode: c++ //
41// compile-command: "make install" //
42// End: //
Note: See TracBrowser for help on using the repository browser.