summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenInstruction.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2013-08-16 01:43:31 +0000
committerAaron Ballman <aaron@aaronballman.com>2013-08-16 01:43:31 +0000
commit414a0cdd38e0ae2f397d9936abcfe73586be0dd2 (patch)
tree6cd9bdc0a5141fa69840303c97dd637f0284d667 /llvm/utils/TableGen/CodeGenInstruction.cpp
parentdba25713a68b553693c592f993f14e83d37da9ca (diff)
downloadbcm5719-llvm-414a0cdd38e0ae2f397d9936abcfe73586be0dd2.tar.gz
bcm5719-llvm-414a0cdd38e0ae2f397d9936abcfe73586be0dd2.zip
Fixing a warning about control reaching the end of a non-void function.
llvm-svn: 188524
Diffstat (limited to 'llvm/utils/TableGen/CodeGenInstruction.cpp')
-rw-r--r--llvm/utils/TableGen/CodeGenInstruction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenInstruction.cpp b/llvm/utils/TableGen/CodeGenInstruction.cpp
index 367320498f5..8ec7682985f 100644
--- a/llvm/utils/TableGen/CodeGenInstruction.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud