Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/CandidateFinder.cpp

    r61e362f r59c8dff  
    4646#include "AST/Type.hpp"
    4747#include "Common/utility.h"       // for move, copy
    48 #include "Parser/parserutility.h" // for notZeroExpr
    4948#include "SymTab/Mangler.h"
    5049#include "Tuples/Tuples.h"        // for handleTupleAssignment
     
    15031502        void Finder::postvisit( const ast::LogicalExpr * logicalExpr ) {
    15041503                CandidateFinder finder1( context, tenv );
    1505                 ast::ptr<ast::Expr> arg1 = notZeroExpr( logicalExpr->arg1 );
    1506                 finder1.find( arg1, ResolveMode::withAdjustment() );
     1504                finder1.find( logicalExpr->arg1, ResolveMode::withAdjustment() );
    15071505                if ( finder1.candidates.empty() ) return;
    15081506
    15091507                CandidateFinder finder2( context, tenv );
    1510                 ast::ptr<ast::Expr> arg2 = notZeroExpr( logicalExpr->arg2 );
    1511                 finder2.find( arg2, ResolveMode::withAdjustment() );
     1508                finder2.find( logicalExpr->arg2, ResolveMode::withAdjustment() );
    15121509                if ( finder2.candidates.empty() ) return;
    15131510
     
    15351532                // candidates for condition
    15361533                CandidateFinder finder1( context, tenv );
    1537                 ast::ptr<ast::Expr> arg1 = notZeroExpr( conditionalExpr->arg1 );
    1538                 finder1.find( arg1, ResolveMode::withAdjustment() );
     1534                finder1.find( conditionalExpr->arg1, ResolveMode::withAdjustment() );
    15391535                if ( finder1.candidates.empty() ) return;
    15401536
Note: See TracChangeset for help on using the changeset viewer.