Changeset a08ba92 for translator/SymTab/TypeTable.h
- Timestamp:
- May 19, 2015, 4:58:14 PM (11 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, stuck-waitfor-destruct, with_gc
- Children:
- 843054c2
- Parents:
- 01aeade
- File:
-
- 1 edited
-
translator/SymTab/TypeTable.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
translator/SymTab/TypeTable.h
r01aeade ra08ba92 10 10 // Created On : Sun May 17 21:48:32 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun May 17 21:49:49201513 // Update Count : 212 // Last Modified On : Tue May 19 16:50:25 2015 13 // Update Count : 3 14 14 // 15 15 … … 27 27 28 28 namespace SymTab { 29 class TypeTableConflictFunction : public std::binary_function< NamedTypeDecl *, NamedTypeDecl *, NamedTypeDecl * > {30 public:29 class TypeTableConflictFunction : public std::binary_function< NamedTypeDecl *, NamedTypeDecl *, NamedTypeDecl * > { 30 public: 31 31 NamedTypeDecl *operator()( NamedTypeDecl *existing, NamedTypeDecl *added ) { 32 32 if ( existing->get_base() == 0 ) { … … 40 40 return 0; 41 41 } 42 };42 }; 43 43 44 typedef StackTable< NamedTypeDecl, TypeTableConflictFunction > TypeTable;44 typedef StackTable< NamedTypeDecl, TypeTableConflictFunction > TypeTable; 45 45 } // namespace SymTab 46 46
Note:
See TracChangeset
for help on using the changeset viewer.