This is an archive of the discontinued LLVM Phabricator instance.

Fix crash when struct with inheritance is initialized with InitExpr
AbandonedPublic

Authored by kinu on Aug 30 2023, 4:16 PM.

Details

Reviewers
NoQ
Summary

This fix doesn't fix the problem of non-populated fields in base classes
(even if they are accessed in the code), and therefore could be a cause of
false positives, but fix most (if not all) of crashes.

Diff Detail

Event Timeline

kinu created this revision.Aug 30 2023, 4:16 PM
Herald added a project: Restricted Project. · View Herald Transcript
kinu requested review of this revision.Aug 30 2023, 4:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 30 2023, 4:16 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
kinu updated this revision to Diff 554868.Aug 30 2023, 5:18 PM

Add assignment test cases

kinu abandoned this revision.Aug 31 2023, 1:00 AM