Fixing a warning about control reaching the end of a non-void function.
authorAaron Ballman <aaron@aaronballman.com>
Fri, 16 Aug 2013 01:43:31 +0000 (01:43 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 16 Aug 2013 01:43:31 +0000 (01:43 +0000)
llvm-svn: 188524

llvm/utils/TableGen/CodeGenInstruction.cpp

index 367320498f59e1ee7f50f4fe0d86c6e6c9c7751f..8ec7682985faa2ea1eb86d06205176af62f78c0f 100644 (file)
@@ -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) {