[clang] [Clang] include attribute scope in diagnostics (PR #144619)

Mikael Holmén via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 8 03:31:33 PDT 2025


mikaelholmen wrote:

Hi @a-tarasyuk ,

With this patch I get the following when building clang-tidy:
```
../../clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp:504:13: error: enumeration value 'ak_attr_info' not handled in switch [-Werror,-Wswitch]
  504 |     switch (Kind) {
      |             ^~~~
1 error generated.
```

https://github.com/llvm/llvm-project/pull/144619


More information about the cfe-commits mailing list