Changeset 00ac42e for src/ResolvExpr/TypeEnvironment.h
- Timestamp:
- Jun 1, 2018, 2:54:55 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, 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, with_gc
- Children:
- 262bd63
- Parents:
- 41e16b1
- git-author:
- Aaron Moss <a3moss@…> (05/31/18 16:24:49)
- git-committer:
- Aaron Moss <a3moss@…> (06/01/18 14:54:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/TypeEnvironment.h
r41e16b1 r00ac42e 73 73 74 74 void initialize( const EqvClass &src, EqvClass &dest ); 75 void initialize( const EqvClass &src, EqvClass &dest, const Type *ty ); 75 76 EqvClass(); 76 77 EqvClass( const EqvClass &other ); 78 EqvClass( const EqvClass &other, const Type *ty ); 77 79 EqvClass &operator=( const EqvClass &other ); 78 80 ~EqvClass(); … … 82 84 class TypeEnvironment { 83 85 public: 84 bool lookup( const std::string &var, EqvClass &eqvClass) const;86 const EqvClass* lookup( const std::string &var ) const; 85 87 void add( const EqvClass &eqvClass ); 88 void add( EqvClass &&eqvClass ); 86 89 void add( const Type::ForallList &tyDecls ); 87 90 void add( const TypeSubstitution & sub );
Note: See TracChangeset
for help on using the changeset viewer.