This is an archive of the discontinued LLVM Phabricator instance.

[clang][Interp] Handle non-primitive locals without initializer
AbandonedPublic

Authored by tbaeder on Oct 27 2022, 5:02 AM.

Details

Summary

This previously made us crash later on when passing a nullptr initializer to visitLocalInitializer.

Diff Detail

Event Timeline

tbaeder created this revision.Oct 27 2022, 5:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 27 2022, 5:02 AM
tbaeder requested review of this revision.Oct 27 2022, 5:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 27 2022, 5:02 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
shafik accepted this revision.Oct 27 2022, 8:38 PM

LGTM

This revision is now accepted and ready to land.Oct 27 2022, 8:38 PM
tbaeder abandoned this revision.Oct 29 2022, 2:13 AM

This got merged into https://reviews.llvm.org/D136815, so abandoning.