[PATCH] D121873: [clang][extract-api] Add enum support
Zixu Wang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 23 13:38:15 PDT 2022
zixuw added a comment.
In D121873#3403082 <https://reviews.llvm.org/D121873#3403082>, @mstorsjo wrote:
> This (or some closely related commit?) causes a huge amount of warnings when building with GCC:
>
> warning: ‘clang::extractapi::EnumRecord’ has a field ‘clang::extractapi::EnumRecord::Constants’ whose type uses the anonymous namespace [-Wsubobject-linkage]
> 167 | struct EnumRecord : APIRecord {
> | ^~~~~~~~~~
Hi Martin! Thanks for the update on the warnings on GCC, didn't know about that.
I think the warning is complaining about the use of `APIRecordUniquePtr`, which should be removed by D122331 <https://reviews.llvm.org/D122331>.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121873/new/
https://reviews.llvm.org/D121873
More information about the cfe-commits
mailing list