diff options
-rw-r--r-- | lib/StaticAnalyzer/Core/Calls.cpp | 2 |
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()); } - |