From: Simon Pilgrim Date: Wed, 1 Aug 2018 09:45:21 +0000 (+0000) Subject: Fix "not all control paths return a value" MSVC warning. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f01e2b84f42029d50503e1311080512a3f44c285;p=clang Fix "not all control paths return a value" MSVC warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338502 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/ConstructionContext.h b/include/clang/Analysis/ConstructionContext.h index 48e0540803..aee67865df 100644 --- a/include/clang/Analysis/ConstructionContext.h +++ b/include/clang/Analysis/ConstructionContext.h @@ -57,6 +57,7 @@ public: case ArgumentKind: return "construct into argument"; case InitializerKind: return "construct into member variable"; }; + llvm_unreachable("Unknown ItemKind"); } private: