Unknown type attributes are diagnosed twice with [[]]
spelling
#54817
Labels
c++11
c23
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
confirmed
Verified by a second party
good first issue
https://github.com/llvm/llvm-project/contribute
Consider:
This generates four diagnostics, two for each unknown attribute. See https://godbolt.org/z/r6eGx1W6E for an example. The same does not happen for declaration attributes or statement attributes, and it does not happen for unknown type attributes spelled with
__attribute__
.The text was updated successfully, but these errors were encountered: