Ignore:
Timestamp:
Apr 12, 2023, 3:10:28 PM (13 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master
Children:
52f9804
Parents:
153d3440
Message:

CandidateFinder? fills in the CodeLocation? on a generated expression. With that and recent changes, the fills seem to be redundent now, so I removed them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixInitNew.cpp

    r153d3440 reb8d791  
    13121312                // xxx - functions returning ast::ptr seems wrong...
    13131313                auto res = ResolvExpr::findVoidExpression( untypedExpr, { symtab, transUnit().global } );
    1314                 // Fix CodeLocation (at least until resolver is fixed).
    1315                 auto fix = localFillCodeLocations( untypedExpr->location, res.release() );
    1316                 return strict_dynamic_cast<const ast::Expr *>( fix );
     1314                return res.release();
    13171315        }
    13181316
Note: See TracChangeset for help on using the changeset viewer.