[PATCH] D47340: [ClangDiagnostics] Silence warning about fallthrough after PrintFatalError
Dávid Bolvanský via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat May 26 02:28:06 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rC333340: [ClangDiagnostics] Silence warning about fallthrough after PrintFatalError (authored by xbolva00, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D47340
Files:
utils/TableGen/ClangDiagnosticsEmitter.cpp
Index: utils/TableGen/ClangDiagnosticsEmitter.cpp
===================================================================
--- utils/TableGen/ClangDiagnosticsEmitter.cpp
+++ utils/TableGen/ClangDiagnosticsEmitter.cpp
@@ -633,7 +633,7 @@
return It->second.Root;
}
- void PrintFatalError(llvm::Twine const &Msg) const {
+ LLVM_ATTRIBUTE_NORETURN void PrintFatalError(llvm::Twine const &Msg) const {
assert(EvaluatingRecord && "not evaluating a record?");
llvm::PrintFatalError(EvaluatingRecord->getLoc(), Msg);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47340.148709.patch
Type: text/x-patch
Size: 531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180526/55eec23b/attachment-0001.bin>
More information about the cfe-commits
mailing list