Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Resolver.cc

    r2345ab3 r0bd3faf  
    2525#include "Resolver.h"
    2626#include "ResolveTypeof.h"
    27 #include "ResolveMode.hpp"               // for ResolveMode
     27#include "ResolvMode.h"                  // for ResolvMode
    2828#include "typeops.h"                     // for extractResultType
    2929#include "Unify.h"                       // for unify
    3030#include "CompilationState.h"
     31#include "AST/Chain.hpp"
    3132#include "AST/Decl.hpp"
    3233#include "AST/Init.hpp"
     
    103104                                                                }
    104105                                                        }
    105                                                 }
    106                                         }
     106                                                } 
     107                                        } 
    107108                                        visit_children = false;
    108109                                }
     
    122123                CandidateRef findUnfinishedKindExpression(
    123124                        const ast::Expr * untyped, const ResolveContext & context, const std::string & kind,
    124                         std::function<bool(const Candidate &)> pred = anyCandidate, ResolveMode mode = {}
     125                        std::function<bool(const Candidate &)> pred = anyCandidate, ResolvMode mode = {}
    125126                ) {
    126127                        if ( ! untyped ) return nullptr;
     
    262263                ast::ptr< ast::CastExpr > untyped = new ast::CastExpr{ expr };
    263264                CandidateRef choice = findUnfinishedKindExpression(
    264                         untyped, context, "", anyCandidate, ResolveMode::withAdjustment() );
     265                        untyped, context, "", anyCandidate, ResolvMode::withAdjustment() );
    265266
    266267                // a cast expression has either 0 or 1 interpretations (by language rules);
     
    291292                        const ast::Expr * untyped, const ResolveContext & context,
    292293                        std::function<bool(const Candidate &)> pred = anyCandidate,
    293                         const std::string & kind = "", ResolveMode mode = {}
     294                        const std::string & kind = "", ResolvMode mode = {}
    294295                ) {
    295296                        if ( ! untyped ) return {};
     
    606607                                ( objectDecl->get_type() )->base->base ) {
    607608                                objectDecl = fixObjectType( objectDecl, context );
    608                                 currentObject = ast::CurrentObject{
    609                                         objectDecl->location,
     609                                currentObject = ast::CurrentObject{ 
     610                                        objectDecl->location, 
    610611                                        enumBase
    611612                                };
     
    859860
    860861                        // Find all candidates for a function in canonical form
    861                         funcFinder.find( clause.target, ResolveMode::withAdjustment() );
     862                        funcFinder.find( clause.target, ResolvMode::withAdjustment() );
    862863
    863864                        if ( funcFinder.candidates.empty() ) {
Note: See TracChangeset for help on using the changeset viewer.