Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Validate.cc

    r44547b0 r9feb34b  
    5555#include "Common/ScopedMap.h"          // for ScopedMap
    5656#include "Common/SemanticError.h"      // for SemanticError
     57#include "Common/ToString.hpp"         // for toCString
    5758#include "Common/UniqueName.h"         // for UniqueName
    58 #include "Common/utility.h"            // for operator+, cloneAll, deleteAll
     59#include "Common/utility.h"            // for cloneAll, deleteAll
    5960#include "CompilationState.h"          // skip some passes in new-ast build
    6061#include "Concurrency/Keywords.h"      // for applyKeywords
     
    6364#include "InitTweak/GenInit.h"         // for fixReturnStatements
    6465#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
    6668#include "ResolvExpr/Resolver.h"       // for findSingleExpression
    6769#include "ResolvExpr/ResolveTypeof.h"  // for resolveTypeof
     
    862864
    863865        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 );
    869867                typedeclNames.insert( typeDecl->name, typeDecl );
    870868        }
Note: See TracChangeset for help on using the changeset viewer.