Ignore:
Timestamp:
Nov 30, 2023, 6:14:20 PM (2 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Resolver.cc

    r7f2bfb7 r4dc3b8c  
    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.