[PATCH] D148505: Allow `__attribute__((warn_unused))` on individual constructors
Stephan Bergmann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 26 15:12:35 PDT 2023
sberg added a comment.
> But the fact that these two attributes already confuse users (AND we've got unused as an attribute in the mix as well, which doesn't help) means we should proceed with caution (and likely coordinate with GCC given that all three of these attributes came from their implementation).
I've brought this up at https://gcc.gnu.org/pipermail/gcc/2023-April/241205.html "GCC/Clang attributes guiding warnings about unused entities" now. (I tried to cross-post that also to the Clang Frontend discourse category, but that probably didn't work.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148505/new/
https://reviews.llvm.org/D148505
More information about the cfe-commits
mailing list