From: Richard Smith Date: Thu, 19 Jul 2012 03:08:07 +0000 (+0000) Subject: Silence another GCC warning. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c30427afb4c2171ee4d336477f5e4d7c277ccb4;p=clang Silence another GCC warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160488 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 ObjCMessageDataTy; @@ -592,4 +593,3 @@ ObjCMessageKind ObjCMethodCall::getMessageKind() const { return OCM_Message; return static_cast(Info.getInt()); } -