This is an archive of the discontinued LLVM Phabricator instance.

[clang][Interp] Fix ImplicitValueInitExprs for pointer types
ClosedPublic

Authored by tbaeder on Nov 2 2022, 2:30 AM.

Details

Summary
This previously ran into an "unknown type" assertion when trying to emit
a 'Zero' op for a pointer type. Emit a NullPtr op instead.

Diff Detail

Event Timeline

tbaeder created this revision.Nov 2 2022, 2:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 2 2022, 2:30 AM
tbaeder requested review of this revision.Nov 2 2022, 2:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 2 2022, 2:30 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Nov 30 2022, 9:17 AM
shafik accepted this revision.Dec 20 2022, 5:54 PM

LGTM