This is an archive of the discontinued LLVM Phabricator instance.

[ASTImporter] Fix import failed when anonymous union defined in class
AbandonedPublic

Authored by jcsxky on Jul 17 2023, 7:09 PM.

Details

Reviewers
a.sidorin
shafik
Summary

when import a class contains two anonymous unions, constructor accesses member in the second union would lead to import the second union, after that, import the first union will lead to conflict, skip when two union are both anonymous.

Diff Detail

Event Timeline

jcsxky created this revision.Jul 17 2023, 7:09 PM
Herald added a reviewer: shafik. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: martong. · View Herald Transcript
jcsxky requested review of this revision.Jul 17 2023, 7:09 PM
jcsxky abandoned this revision.Aug 8 2023, 6:39 PM