Changeset b0d9ff7 for src/SymTab/ValidateType.cc
- Timestamp:
- Sep 1, 2022, 1:27:52 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 12df6fe
- Parents:
- def751f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/ValidateType.cc
rdef751f rb0d9ff7 82 82 void postvisit( QualifiedType * qualType ); 83 83 84 void postvisit( QualifiedNameExpr * qualExpr ); 85 84 86 void postvisit( EnumDecl * enumDecl ); 85 87 void postvisit( StructDecl * structDecl ); … … 157 159 // linking only makes sense for the 'oldest ancestor' of the qualified type 158 160 qualType->parent->accept( * visitor ); 161 } 162 163 void LinkReferenceToTypes_old::postvisit( QualifiedNameExpr * qualExpr ) { 164 const EnumDecl * st = local_indexer->lookupEnum( qualExpr->type_decl->name ); 165 qualExpr->type_decl = const_cast<EnumDecl *>(st); 159 166 } 160 167
Note: See TracChangeset
for help on using the changeset viewer.