[llvm] r188524 - Fixing a warning about control reaching the end of a non-void function.
Aaron Ballman
aaron at aaronballman.com
Thu Aug 15 18:43:32 PDT 2013
Author: aaronballman
Date: Thu Aug 15 20:43:31 2013
New Revision: 188524
URL: http://llvm.org/viewvc/llvm-project?rev=188524&view=rev
Log:
Fixing a warning about control reaching the end of a non-void function.
Modified:
llvm/trunk/utils/TableGen/CodeGenInstruction.cpp
Modified: llvm/trunk/utils/TableGen/CodeGenInstruction.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeGenInstruction.cpp?rev=188524&r1=188523&r2=188524&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenInstruction.cpp (original)
+++ llvm/trunk/utils/TableGen/CodeGenInstruction.cpp Thu Aug 15 20:43:31 2013
@@ -192,6 +192,7 @@ CGIOperandList::ParseOperandName(const s
// Otherwise, didn't find it!
PrintFatalError(TheDef->getName() + ": unknown suboperand name in '" + Op + "'");
+ return std::make_pair(0U, 0U);
}
static void ParseConstraint(const std::string &CStr, CGIOperandList &Ops) {
More information about the llvm-commits
mailing list