[clang-tools-extra] [clang-tidy] support ak_attr_info in diagnostic forwarding (PR #147503)

Oleksandr T. via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 8 04:09:45 PDT 2025


================
@@ -544,6 +544,9 @@ void ClangTidyDiagnosticConsumer::forwardDiagnostic(const Diagnostic &Info) {
     case clang::DiagnosticsEngine::ak_attr:
       Builder << reinterpret_cast<Attr *>(Info.getRawArg(Index));
       break;
+    case clang::DiagnosticsEngine::ak_attr_info:
----------------
a-tarasyuk wrote:

@mikaelholmen not sure if it matters in this case, since there's no `fallthrough`. For example, `ak_addrspace` has a different order.

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


More information about the cfe-commits mailing list