Changeset 679864e1 for src/SymTab
- Timestamp:
- Oct 7, 2015, 12:31:28 PM (10 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 242d458
- Parents:
- b0be06ac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/SymTab/Validate.cc ¶
rb0be06ac r679864e1 10 10 // Created On : Sun May 17 21:50:04 2015 11 11 // Last Modified By : Rob Schluntz 12 // Last Modified On : Wed Aug 05 14:00:24201513 // Update Count : 19512 // Last Modified On : Tue Oct 06 15:40:35 2015 13 // Update Count : 219 14 14 // 15 15 … … 183 183 184 184 typedef std::map< std::string, std::pair< TypedefDecl *, int > > TypedefMap; 185 typedef std::map< std::string, TypeDecl * > TypeDeclMap; 185 186 TypedefMap typedefNames; 187 TypeDeclMap typedeclNames; 186 188 int scopeLevel; 187 189 }; … … 839 841 delete typeInst; 840 842 return ret; 843 } else { 844 TypeDeclMap::const_iterator base = typedeclNames.find( typeInst->get_name() ); 845 assert( base != typedeclNames.end() ); 846 typeInst->set_baseType( base->second->clone() ); 841 847 } // if 842 848 return typeInst; … … 880 886 typedefNames.erase( i ) ; 881 887 } // if 888 889 typedeclNames[ typeDecl->get_name() ] = typeDecl; 882 890 return typeDecl; 883 891 }
Note: See TracChangeset
for help on using the changeset viewer.