From: Aaron Ballman Date: Fri, 16 Aug 2013 01:43:31 +0000 (+0000) Subject: Fixing a warning about control reaching the end of a non-void function. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3369599db29739cd94087c34d0f7df8d00c00eb1;p=oota-llvm.git Fixing a warning about control reaching the end of a non-void function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188524 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/CodeGenInstruction.cpp b/utils/TableGen/CodeGenInstruction.cpp index 367320498f5..8ec7682985f 100644 --- a/utils/TableGen/CodeGenInstruction.cpp +++ b/utils/TableGen/CodeGenInstruction.cpp @@ -192,6 +192,7 @@ CGIOperandList::ParseOperandName(const std::string &Op, bool AllowWholeOp) { // 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) {