This is an archive of the discontinued LLVM Phabricator instance.

[clang][dataflow] Improve handling of constructor initializers.
ClosedPublic

Authored by ymandel on May 25 2022, 1:40 PM.

Details

Summary

Currently, we assert that CXXCtorInitializers are field initializers. Replace
the assertion with an early return. Otherwise, we crash every time we process a
constructor with a non-field (e.g. base class) initializer.

Diff Detail

Event Timeline

ymandel created this revision.May 25 2022, 1:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2022, 1:40 PM
ymandel requested review of this revision.May 25 2022, 1:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2022, 1:40 PM
sgatev accepted this revision.May 25 2022, 1:46 PM
This revision is now accepted and ready to land.May 25 2022, 1:46 PM
This revision was landed with ongoing or failed builds.May 27 2022, 7:02 AM
This revision was automatically updated to reflect the committed changes.