Changeset 21a2a7d for src/SymTab
- Timestamp:
- Feb 3, 2023, 4:04:22 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 35d1de5
- Parents:
- e9b5043
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Validate.cc
re9b5043 r21a2a7d 863 863 864 864 void ReplaceTypedef::premutate( TypeDecl * typeDecl ) { 865 TypedefMap::iterator i = typedefNames.find( typeDecl->name ); 866 if ( i != typedefNames.end() ) { 867 typedefNames.erase( i ) ; 868 } // if 869 865 typedefNames.erase( typeDecl->name ); 870 866 typedeclNames.insert( typeDecl->name, typeDecl ); 871 867 }
Note: See TracChangeset
for help on using the changeset viewer.