Changes in src/SymTab/Mangler.h [25bd9074:6b0b624]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Mangler.h
r25bd9074 r6b0b624 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Mangler.h -- 7 // Mangler.h -- 8 8 // 9 9 // Author : Richard C. Bilson 10 10 // Created On : Sun May 17 21:44:03 2015 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Wed Aug 19 15:48:46 201513 // Update Count : 1 411 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Jul 22 09:45:30 2017 13 // Update Count : 15 14 14 // 15 15 16 #ifndef MANGLER_H 17 #define MANGLER_H 16 #pragma once 18 17 19 18 #include <sstream> … … 39 38 virtual void visit( PointerType *pointerType ); 40 39 virtual void visit( ArrayType *arrayType ); 41 virtual void visit( ReferenceType *refType );42 40 virtual void visit( FunctionType *functionType ); 43 41 virtual void visit( StructInstType *aggregateUseType ); … … 49 47 virtual void visit( ZeroType *zeroType ); 50 48 virtual void visit( OneType *oneType ); 51 49 52 50 std::string get_mangleName() { return mangleName.str(); } 53 51 private: … … 59 57 bool mangleOverridable; ///< Specially mangle overridable built-in methods 60 58 bool typeMode; ///< Produce a unique mangled name for a type 61 59 62 60 Mangler( bool mangleOverridable, bool typeMode ); 63 61 Mangler( const Mangler & ); 64 62 65 63 void mangleDecl( DeclarationWithType *declaration ); 66 64 void mangleRef( ReferenceToType *refType, std::string prefix ); 67 65 void mangleGenericRef( ReferenceToType *refType, std::string prefix ); 68 66 69 67 void printQualifiers( Type *type ); 70 68 }; // Mangler … … 78 76 } // SymTab 79 77 80 #endif // MANGLER_H81 82 78 // Local Variables: // 83 79 // tab-width: 4 //
Note:
See TracChangeset
for help on using the changeset viewer.