[PATCH] D135804: [clang][ExtractAPI] Ignore fully anonymous RecordDecls

Daniel Grumberg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 12 11:55:16 PDT 2022


dang created this revision.
dang added reviewers: zixuw, ributzka, QuietMisdreavus.
Herald added a project: All.
dang requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

ExtractAPI was emitting a separate symbol for anonymous record declaration
that define the type of a member of another record declaration. Now
ExtractAPI ignores these declarations and just records the existence of
the actual member.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135804

Files:
  clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
  clang/test/ExtractAPI/anonymous_record_no_typedef.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135804.467219.patch
Type: text/x-patch
Size: 9626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221012/b244e647/attachment.bin>


More information about the cfe-commits mailing list