Changes in src/ResolvExpr/ResolvMode.h [396037d:6d6e829]
- File:
-
- 1 edited
-
src/ResolvExpr/ResolvMode.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/ResolvMode.h
r396037d r6d6e829 22 22 const bool prune; ///< Prune alternatives to min-cost per return type? [true] 23 23 const bool failFast; ///< Fail on no resulting alternatives? [true] 24 const bool satisfyAssns; ///< Satisfyassertions? [false]24 const bool resolveAssns; ///< Resolve assertions? [false] 25 25 26 26 private: 27 constexpr ResolvMode(bool a, bool p, bool ff, bool sa)28 : adjust(a), prune(p), failFast(ff), satisfyAssns(sa) {}27 constexpr ResolvMode(bool a, bool p, bool ff, bool ra) 28 : adjust(a), prune(p), failFast(ff), resolveAssns(ra) {} 29 29 30 30 public: 31 31 /// Default settings 32 constexpr ResolvMode() : adjust(false), prune(true), failFast(true), satisfyAssns(false) {}32 constexpr ResolvMode() : adjust(false), prune(true), failFast(true), resolveAssns(false) {} 33 33 34 34 /// With adjust flag set; turns array and function types into equivalent pointers … … 43 43 static constexpr ResolvMode withoutFailFast() { return { true, true, false, false }; } 44 44 45 /// The same mode, but with satisfyAssns turned on; for top-level calls45 /// The same mode, but with resolveAssns turned on; for top-level calls 46 46 ResolvMode atTopLevel() const { return { adjust, prune, failFast, true }; } 47 47 };
Note:
See TracChangeset
for help on using the changeset viewer.