Changeset 5408b59 for src/SymTab
- Timestamp:
- Oct 18, 2022, 9:12:19 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- c2b3243
- Parents:
- 1e30df7
- Location:
- src/SymTab
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Mangler.cc
r1e30df7 r5408b59 65 65 void postvisit( const QualifiedType * qualType ); 66 66 67 void postvisit( const QualifiedNameExpr * qualNameExpr );68 69 67 std::string get_mangleName() { return mangleName; } 70 68 private: … … 307 305 mangleName += Encoding::qualifiedTypeEnd; 308 306 } 309 }310 311 void Mangler_old::postvisit( const QualifiedNameExpr * qual ) {312 maybeAccept( qual->var, *visitor );313 307 } 314 308 … … 423 417 void postvisit( const ast::OneType * oneType ); 424 418 void postvisit( const ast::QualifiedType * qualType ); 425 void postvisit( const ast::QualifiedNameExpr * qualNameExpr );426 419 427 420 std::string get_mangleName() { return mangleName; } … … 652 645 mangleName += Encoding::qualifiedTypeEnd; 653 646 } 654 }655 void Mangler_new::postvisit( const ast::QualifiedNameExpr * qual ) {656 maybeAccept( qual->var.get(), *visitor );657 647 } 658 648 -
src/SymTab/Validate.cc
r1e30df7 r5408b59 858 858 declsToAddBefore.push_back( new UnionDecl( aggDecl->name, noAttributes, tyDecl->linkage ) ); 859 859 } else if ( EnumInstType * enumInst = dynamic_cast< EnumInstType * >( designatorType ) ) { 860 // declsToAddBefore.push_back( new EnumDecl( enumDecl->name, noAttributes, tyDecl->linkage, enumDecl->baseEnum->base ) );861 860 if ( enumInst->baseEnum ) { 862 861 const EnumDecl * enumDecl = enumInst->baseEnum; -
src/SymTab/ValidateType.cc
r1e30df7 r5408b59 81 81 void previsit( QualifiedType * qualType ); 82 82 void postvisit( QualifiedType * qualType ); 83 84 83 void postvisit( QualifiedNameExpr * qualExpr ); 85 84 86 85 void postvisit( EnumDecl * enumDecl ); 87 86 void postvisit( StructDecl * structDecl );
Note: See TracChangeset
for help on using the changeset viewer.