Ignore:
Timestamp:
Nov 30, 2023, 2:41:11 PM (10 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
d787828d
Parents:
83fd57d
Message:

Renamed ResolvMode? to ResolveMode?. This is less consistent with the namespace, but is more consistent with almost everything else.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Resolver.cc

    r83fd57d r4a89b52  
    2525#include "Resolver.h"
    2626#include "ResolveTypeof.h"
    27 #include "ResolvMode.h"                  // for ResolvMode
     27#include "ResolveMode.hpp"               // for ResolveMode
    2828#include "typeops.h"                     // for extractResultType
    2929#include "Unify.h"                       // for unify
     
    123123                CandidateRef findUnfinishedKindExpression(
    124124                        const ast::Expr * untyped, const ResolveContext & context, const std::string & kind,
    125                         std::function<bool(const Candidate &)> pred = anyCandidate, ResolvMode mode = {}
     125                        std::function<bool(const Candidate &)> pred = anyCandidate, ResolveMode mode = {}
    126126                ) {
    127127                        if ( ! untyped ) return nullptr;
     
    263263                ast::ptr< ast::CastExpr > untyped = new ast::CastExpr{ expr };
    264264                CandidateRef choice = findUnfinishedKindExpression(
    265                         untyped, context, "", anyCandidate, ResolvMode::withAdjustment() );
     265                        untyped, context, "", anyCandidate, ResolveMode::withAdjustment() );
    266266
    267267                // a cast expression has either 0 or 1 interpretations (by language rules);
     
    292292                        const ast::Expr * untyped, const ResolveContext & context,
    293293                        std::function<bool(const Candidate &)> pred = anyCandidate,
    294                         const std::string & kind = "", ResolvMode mode = {}
     294                        const std::string & kind = "", ResolveMode mode = {}
    295295                ) {
    296296                        if ( ! untyped ) return {};
     
    860860
    861861                        // Find all candidates for a function in canonical form
    862                         funcFinder.find( clause.target, ResolvMode::withAdjustment() );
     862                        funcFinder.find( clause.target, ResolveMode::withAdjustment() );
    863863
    864864                        if ( funcFinder.candidates.empty() ) {
Note: See TracChangeset for help on using the changeset viewer.