This is an archive of the discontinued LLVM Phabricator instance.

[clang][Interp] Fix ignoring MaterializeTemporaryExprs
ClosedPublic

Authored by tbaeder on Jul 4 2023, 11:35 PM.

Diff Detail

Event Timeline

tbaeder created this revision.Jul 4 2023, 11:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 4 2023, 11:35 PM
tbaeder requested review of this revision.Jul 4 2023, 11:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 4 2023, 11:35 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript

This is split out from https://reviews.llvm.org/D149828, but I think that other one had problems (which made me write this version).

Can you describe the problems?

Otherwise, this looks reasonable.

The changes in https://reviews.llvm.org/D149828 missed one case, the (E->getStorageDuration() == SD_Static) && SubExprT one.

@aaron.ballman any opinion on that?

This revision is now accepted and ready to land.Jul 31 2023, 11:24 AM
This revision was landed with ongoing or failed builds.Aug 1 2023, 12:46 AM
This revision was automatically updated to reflect the committed changes.