aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-07-19 03:08:07 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-07-19 03:08:07 +0000
commit7c30427afb4c2171ee4d336477f5e4d7c277ccb4 (patch)
tree1e5d49a07d49b88cc5dc704c15aa6a01a79a9373
parentce40e6f3dc3287348fb51a0eb7d4654b317435b8 (diff)
Silence another GCC warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160488 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/StaticAnalyzer/Core/Calls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Core/Calls.cpp b/lib/StaticAnalyzer/Core/Calls.cpp
index 5c161ba27b..22fea3298d 100644
--- a/lib/StaticAnalyzer/Core/Calls.cpp
+++ b/lib/StaticAnalyzer/Core/Calls.cpp
@@ -537,6 +537,7 @@ SourceRange ObjCMethodCall::getSourceRange() const {
case OCM_Subscript:
return getContainingPseudoObjectExpr()->getSourceRange();
}
+ llvm_unreachable("unknown message kind");
}
typedef llvm::PointerIntPair<const PseudoObjectExpr *, 2> ObjCMessageDataTy;
@@ -592,4 +593,3 @@ ObjCMessageKind ObjCMethodCall::getMessageKind() const {
return OCM_Message;
return static_cast<ObjCMessageKind>(Info.getInt());
}
-