[llvm] r366251 - Fix -Wreturn-type warning. NFC.
Michael Liao via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 16 12:59:08 PDT 2019
Author: hliao
Date: Tue Jul 16 12:59:08 2019
New Revision: 366251
URL: http://llvm.org/viewvc/llvm-project?rev=366251&view=rev
Log:
Fix -Wreturn-type warning. NFC.
Modified:
llvm/trunk/lib/Remarks/RemarkParser.cpp
Modified: llvm/trunk/lib/Remarks/RemarkParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Remarks/RemarkParser.cpp?rev=366251&r1=366250&r2=366251&view=diff
==============================================================================
--- llvm/trunk/lib/Remarks/RemarkParser.cpp (original)
+++ llvm/trunk/lib/Remarks/RemarkParser.cpp Tue Jul 16 12:59:08 2019
@@ -57,6 +57,7 @@ llvm::remarks::createRemarkParser(Format
return createStringError(std::make_error_code(std::errc::invalid_argument),
"Unknown remark parser format.");
}
+ llvm_unreachable("unknown format");
}
// Wrapper that holds the state needed to interact with the C API.
More information about the llvm-commits
mailing list