Since there's no change to ArgExprs between here and the previous early exit starting at L 5333 it's effectively a dead code.
On the other hand a possible counter-argument is that code gets a bit more brittle.
WDYT?
Differential D51488
[Sema][NFC] Small cleanup - remove dead code from ActOnCallExpr() ? jkorous on Aug 30 2018, 7:59 AM. Authored by
Details
Since there's no change to ArgExprs between here and the previous early exit starting at L 5333 it's effectively a dead code. On the other hand a possible counter-argument is that code gets a bit more brittle. WDYT?
Diff Detail
Event TimelineComment Actions Assuming ArgExprs doesn't change between those two calls this seems fine.
Comment Actions Sorry for the delay - I was busy with other things for past two weeks.
|
While you're at it you might as well remove the else branch here.