summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2021-05-21 10:57:06 +0200
committerRaphael Isemann <teemperor@gmail.com>2021-05-21 11:18:43 +0200
commitebd25fde5e04fa954f3fbad3fa0ee89f511a907a (patch)
tree445a45221b7f64317c7a26f3c466a8b43727a810 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentb5b3843f8d9327039bbcc08b61ff768081a2220d (diff)
[clang] Fix Wnested-anon-types in ABIArgInfo
D98794 added the DirectAttr/IndirectAttr struct fields to that union, but declaring anonymous structs in an anonymous union triggers `-Wnested-anon-types` warnings. We can't just give them a name as they are in an anonymous union, so this just declares the type outside. ``` clang/include/clang/CodeGen/CGFunctionInfo.h:97:5: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ clang/include/clang/CodeGen/CGFunctionInfo.h:101:5: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct { ^ ``` Reviewed By: chill Differential Revision: https://reviews.llvm.org/D102903
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions