Changes in src/ResolvExpr/Resolver.cc [2345ab3:0bd3faf]
- File:
-
- 1 edited
-
src/ResolvExpr/Resolver.cc (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.cc
r2345ab3 r0bd3faf 25 25 #include "Resolver.h" 26 26 #include "ResolveTypeof.h" 27 #include "Resolv eMode.hpp" // for ResolveMode27 #include "ResolvMode.h" // for ResolvMode 28 28 #include "typeops.h" // for extractResultType 29 29 #include "Unify.h" // for unify 30 30 #include "CompilationState.h" 31 #include "AST/Chain.hpp" 31 32 #include "AST/Decl.hpp" 32 33 #include "AST/Init.hpp" … … 103 104 } 104 105 } 105 } 106 } 106 } 107 } 107 108 visit_children = false; 108 109 } … … 122 123 CandidateRef findUnfinishedKindExpression( 123 124 const ast::Expr * untyped, const ResolveContext & context, const std::string & kind, 124 std::function<bool(const Candidate &)> pred = anyCandidate, Resolv eMode mode = {}125 std::function<bool(const Candidate &)> pred = anyCandidate, ResolvMode mode = {} 125 126 ) { 126 127 if ( ! untyped ) return nullptr; … … 262 263 ast::ptr< ast::CastExpr > untyped = new ast::CastExpr{ expr }; 263 264 CandidateRef choice = findUnfinishedKindExpression( 264 untyped, context, "", anyCandidate, Resolv eMode::withAdjustment() );265 untyped, context, "", anyCandidate, ResolvMode::withAdjustment() ); 265 266 266 267 // a cast expression has either 0 or 1 interpretations (by language rules); … … 291 292 const ast::Expr * untyped, const ResolveContext & context, 292 293 std::function<bool(const Candidate &)> pred = anyCandidate, 293 const std::string & kind = "", Resolv eMode mode = {}294 const std::string & kind = "", ResolvMode mode = {} 294 295 ) { 295 296 if ( ! untyped ) return {}; … … 606 607 ( objectDecl->get_type() )->base->base ) { 607 608 objectDecl = fixObjectType( objectDecl, context ); 608 currentObject = ast::CurrentObject{ 609 objectDecl->location, 609 currentObject = ast::CurrentObject{ 610 objectDecl->location, 610 611 enumBase 611 612 }; … … 859 860 860 861 // Find all candidates for a function in canonical form 861 funcFinder.find( clause.target, Resolv eMode::withAdjustment() );862 funcFinder.find( clause.target, ResolvMode::withAdjustment() ); 862 863 863 864 if ( funcFinder.candidates.empty() ) {
Note:
See TracChangeset
for help on using the changeset viewer.