Changeset 4dc3b8c for src/ResolvExpr/Resolver.cc
- Timestamp:
- Nov 30, 2023, 6:14:20 PM (2 years ago)
- Branches:
- master
- Children:
- 2f8d351
- Parents:
- 7f2bfb7 (diff), c4570af3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/ResolvExpr/Resolver.cc (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.cc
r7f2bfb7 r4dc3b8c 25 25 #include "Resolver.h" 26 26 #include "ResolveTypeof.h" 27 #include "Resolv Mode.h" // for ResolvMode27 #include "ResolveMode.hpp" // for ResolveMode 28 28 #include "typeops.h" // for extractResultType 29 29 #include "Unify.h" // for unify … … 123 123 CandidateRef findUnfinishedKindExpression( 124 124 const ast::Expr * untyped, const ResolveContext & context, const std::string & kind, 125 std::function<bool(const Candidate &)> pred = anyCandidate, Resolv Mode mode = {}125 std::function<bool(const Candidate &)> pred = anyCandidate, ResolveMode mode = {} 126 126 ) { 127 127 if ( ! untyped ) return nullptr; … … 263 263 ast::ptr< ast::CastExpr > untyped = new ast::CastExpr{ expr }; 264 264 CandidateRef choice = findUnfinishedKindExpression( 265 untyped, context, "", anyCandidate, Resolv Mode::withAdjustment() );265 untyped, context, "", anyCandidate, ResolveMode::withAdjustment() ); 266 266 267 267 // a cast expression has either 0 or 1 interpretations (by language rules); … … 292 292 const ast::Expr * untyped, const ResolveContext & context, 293 293 std::function<bool(const Candidate &)> pred = anyCandidate, 294 const std::string & kind = "", Resolv Mode mode = {}294 const std::string & kind = "", ResolveMode mode = {} 295 295 ) { 296 296 if ( ! untyped ) return {}; … … 860 860 861 861 // Find all candidates for a function in canonical form 862 funcFinder.find( clause.target, Resolv Mode::withAdjustment() );862 funcFinder.find( clause.target, ResolveMode::withAdjustment() ); 863 863 864 864 if ( funcFinder.candidates.empty() ) {
Note:
See TracChangeset
for help on using the changeset viewer.