Changes in src/SymTab/Validate.cc [44547b0:9feb34b]
- File:
-
- 1 edited
-
src/SymTab/Validate.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Validate.cc
r44547b0 r9feb34b 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.