echristo updated this revision to Diff 233857. echristo added a comment. Fix for some slightly better API uses.
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D71486/new/ https://reviews.llvm.org/D71486 Files: clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp Index: clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp =================================================================== --- clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp +++ clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp @@ -521,6 +521,9 @@ case clang::DiagnosticsEngine::ak_attr: Builder << reinterpret_cast<Attr *>(Info.getRawArg(Index)); break; + case clang::DiagnosticsEngine::ak_addrspace: + Builder << static_cast<LangAS>(Info.getRawArg(Index)); + break; } } }
Index: clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp =================================================================== --- clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp +++ clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp @@ -521,6 +521,9 @@ case clang::DiagnosticsEngine::ak_attr: Builder << reinterpret_cast<Attr *>(Info.getRawArg(Index)); break; + case clang::DiagnosticsEngine::ak_addrspace: + Builder << static_cast<LangAS>(Info.getRawArg(Index)); + break; } } }
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits