Changeset 0e73845 for src/SymTab/ManglerCommon.cc
- Timestamp:
- Aug 19, 2018, 12:09:00 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 04c77791
- Parents:
- 38587bc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/ManglerCommon.cc
r38587bc r0e73845 16 16 #include "Mangler.h" 17 17 #include "SynTree/Type.h" 18 #include "SynTree/Declaration.h" 18 19 19 20 namespace SymTab { … … 82 83 const std::string qualifiedTypeEnd = "E"; 83 84 85 const std::string forall = "Q"; 86 const std::string typeVariables[] = { 87 "BD", // dtype 88 "BF", // ftype 89 "BT", // ttype 90 }; 91 static_assert( 92 sizeof(typeVariables)/sizeof(typeVariables[0]) == TypeDecl::NUMBER_OF_KINDS, 93 "Each type variable kind should have a corresponding mangler prefix" 94 ); 95 84 96 const std::string struct_t = "S"; 85 97 const std::string union_t = "U";
Note: See TracChangeset
for help on using the changeset viewer.