summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveDebugValues.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-10-04 12:45:27 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-10-04 12:45:27 +0000
commit84f5cd75b382257b664260ceb769e06d3843c408 (patch)
tree098adb1857bea2d149d9e5f46fea358ac92c5f03 /llvm/lib/CodeGen/LiveDebugValues.cpp
parent9bd763679fe97593cc9a660c37d5ab00e9bfec06 (diff)
downloadbcm5719-llvm-84f5cd75b382257b664260ceb769e06d3843c408.tar.gz
bcm5719-llvm-84f5cd75b382257b664260ceb769e06d3843c408.zip
Fix MSVC "not all control paths return a value" warning. NFCI.
llvm-svn: 373741
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugValues.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues.cpp b/llvm/lib/CodeGen/LiveDebugValues.cpp
index 5a495594045..f1b237d83e8 100644
--- a/llvm/lib/CodeGen/LiveDebugValues.cpp
+++ b/llvm/lib/CodeGen/LiveDebugValues.cpp
@@ -311,6 +311,7 @@ private:
case InvalidKind:
llvm_unreachable("Tried to produce DBG_VALUE for invalid VarLoc");
}
+ llvm_unreachable("Unrecognized LiveDebugValues.VarLoc.Kind enum");
}
/// Is the Loc field a constant or constant object?
OpenPOWER on IntegriCloud