Changeset 4e66a18 for src/ResolvExpr/AlternativeFinder.h
- Timestamp:
- Sep 27, 2017, 4:25:27 PM (6 years ago)
- Branches:
- aaron-thesis, arm-eh, 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, resolv-new, with_gc
- Children:
- c3b3799
- Parents:
- 8404321
- git-author:
- Rob Schluntz <rschlunt@…> (09/27/17 15:54:21)
- git-committer:
- Rob Schluntz <rschlunt@…> (09/27/17 16:25:27)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/AlternativeFinder.h
r8404321 r4e66a18 34 34 public: 35 35 AlternativeFinder( const SymTab::Indexer &indexer, const TypeEnvironment &env ); 36 void find( Expression *expr, bool adjust = false, bool prune = true );36 void find( Expression *expr, bool adjust = false, bool prune = true, bool failFast = true ); 37 37 /// Calls find with the adjust flag set; adjustment turns array and function types into equivalent pointer types 38 void findWithAdjustment( Expression *expr, bool prune = true ); 38 void findWithAdjustment( Expression *expr ); 39 /// Calls find with the adjust flag set and prune flag unset; pruning ensures there is at most one alternative per result type 40 void findWithoutPrune( Expression *expr ); 41 /// Calls find with the adjust and prune flags set, failFast flags unset; fail fast ensures that there is at least one resulting alternative 42 void maybeFind( Expression *expr ); 39 43 AltList &get_alternatives() { return alternatives; } 40 44
Note: See TracChangeset
for help on using the changeset viewer.