diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2013-08-16 01:43:31 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2013-08-16 01:43:31 +0000 |
commit | 3369599db29739cd94087c34d0f7df8d00c00eb1 (patch) | |
tree | bc4e7173b5fa18ed50041dfb087f0e7b5b565403 /utils/TableGen | |
parent | b07ec9606813cf16b137f0bb9ce09ca7ce57f026 (diff) | |
download | llvm-3369599db29739cd94087c34d0f7df8d00c00eb1.tar.gz llvm-3369599db29739cd94087c34d0f7df8d00c00eb1.tar.bz2 llvm-3369599db29739cd94087c34d0f7df8d00c00eb1.tar.xz |
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
Diffstat (limited to 'utils/TableGen')
-rw-r--r-- | utils/TableGen/CodeGenInstruction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenInstruction.cpp b/utils/TableGen/CodeGenInstruction.cpp index 367320498f..8ec7682985 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) { |