From 32dddbfa977cb8893ae19d96e60c1abc224a3d32 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Mon, 28 Jul 2014 17:48:12 +0000 Subject: [PATCH] Fix MSVC warnings about falling off the end of a non-void function git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214103 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Analysis/Analyses/ThreadSafetyTraverse.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h b/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h index 811feaca01..3692b75e7a 100644 --- a/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h +++ b/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h @@ -433,6 +433,7 @@ public: #include "ThreadSafetyOps.def" #undef TIL_OPCODE_DEF } + llvm_unreachable("invalid enum"); } }; -- 2.40.0