[PATCH] D147989: [clang] Fix Attribute Placement
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 11 07:57:43 PDT 2023
tbaeder added inline comments.
================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:3424
"attribute %0 is ignored, place it after "
- "\"%select{class|struct|interface|union|enum}1\" to apply attribute to "
+ "\"%select{class|struct|interface|union|enum|enum class}1\" to apply attribute to "
"type declaration">, InGroup<IgnoredAttributes>;
----------------
"enum struct" is also possible in C++, so I think this needs to be covered as well.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147989/new/
https://reviews.llvm.org/D147989
More information about the cfe-commits
mailing list