diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-08-01 09:45:21 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-08-01 09:45:21 +0000 |
commit | f01e2b84f42029d50503e1311080512a3f44c285 (patch) | |
tree | cca4c7095ccd15973b9e13a092227ecb90759f9a | |
parent | fefed1b2684e8eb833d407b67661be036dd33064 (diff) |
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
-rw-r--r-- | include/clang/Analysis/ConstructionContext.h | 1 |
1 files changed, 1 insertions, 0 deletions
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: |