Changeset 4a89b52 for src/ResolvExpr/Resolver.cc
- Timestamp:
- Nov 30, 2023, 2:41:11 PM (10 months ago)
- Branches:
- master
- Children:
- d787828d
- Parents:
- 83fd57d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.cc
r83fd57d r4a89b52 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.