[clang-tools-extra] [clang-tidy] support ak_attr_info in diagnostic forwarding (PR #147503)
Mikael Holmén via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 8 04:17:11 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:
----------------
mikaelholmen wrote:
Yes out of the 16 previous values the ak_addrspace case was sorted seemingly randomly.
Well as I wrote, I don't know if anyone cares. And function wise it doesn't matter.
I just noted the general sorting that was done before.
https://github.com/llvm/llvm-project/pull/147503
More information about the cfe-commits
mailing list