From cec5ec447c19a88e3443fc7d5c6128a5900ed51f Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 3 Aug 2017 03:52:34 +0000 Subject: [PATCH] Add LLVM_FALLTHROUGH. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309918 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/CodeGenCWrappers.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/llvm/Support/CodeGenCWrappers.h b/include/llvm/Support/CodeGenCWrappers.h index d7414107478..eef102fc1fe 100644 --- a/include/llvm/Support/CodeGenCWrappers.h +++ b/include/llvm/Support/CodeGenCWrappers.h @@ -27,6 +27,7 @@ inline Optional unwrap(LLVMCodeModel Model, bool &JIT) { switch (Model) { case LLVMCodeModelJITDefault: JIT = true; + LLVM_FALLTHROUGH; case LLVMCodeModelDefault: return None; case LLVMCodeModelSmall: -- 2.50.1