[PATCH] D71486: [clang-tools-extra] Fix switch coverage warning
Eric Christopher via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 13 13:00:16 PST 2019
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;
}
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71486.233857.patch
Type: text/x-patch
Size: 553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191213/0bde7c82/attachment.bin>
More information about the cfe-commits
mailing list