Changeset 7f6a7c9 for src/SymTab/ValidateType.cc
- Timestamp:
- Sep 21, 2022, 11:02:15 AM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation
- Children:
- 95dab9e
- Parents:
- 428adbc (diff), 0bd46fd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/ValidateType.cc
r428adbc r7f6a7c9 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.