Changeset 24d6572 for src/SymTab/Validate.cc
- Timestamp:
- Jun 12, 2023, 2:45:32 PM (2 years ago)
- Branches:
- ast-experimental, master
- Children:
- 62d62db
- Parents:
- 34b4268 (diff), 251ce80 (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/Validate.cc
r34b4268 r24d6572 55 55 #include "Common/ScopedMap.h" // for ScopedMap 56 56 #include "Common/SemanticError.h" // for SemanticError 57 #include "Common/ToString.hpp" // for toCString 57 58 #include "Common/UniqueName.h" // for UniqueName 58 #include "Common/utility.h" // for operator+,cloneAll, deleteAll59 #include "Common/utility.h" // for cloneAll, deleteAll 59 60 #include "CompilationState.h" // skip some passes in new-ast build 60 61 #include "Concurrency/Keywords.h" // for applyKeywords … … 63 64 #include "InitTweak/GenInit.h" // for fixReturnStatements 64 65 #include "InitTweak/InitTweak.h" // for isCtorDtorAssign 65 #include "ResolvExpr/typeops.h" // for typesCompatible 66 #include "ResolvExpr/typeops.h" // for extractResultType 67 #include "ResolvExpr/Unify.h" // for typesCompatible 66 68 #include "ResolvExpr/Resolver.h" // for findSingleExpression 67 69 #include "ResolvExpr/ResolveTypeof.h" // for resolveTypeof … … 862 864 863 865 void ReplaceTypedef::premutate( TypeDecl * typeDecl ) { 864 TypedefMap::iterator i = typedefNames.find( typeDecl->name ); 865 if ( i != typedefNames.end() ) { 866 typedefNames.erase( i ) ; 867 } // if 868 866 typedefNames.erase( typeDecl->name ); 869 867 typedeclNames.insert( typeDecl->name, typeDecl ); 870 868 }
Note:
See TracChangeset
for help on using the changeset viewer.