From: Rafael Espindola Date: Thu, 3 Aug 2017 03:52:34 +0000 (+0000) Subject: Add LLVM_FALLTHROUGH. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cec5ec447c19a88e3443fc7d5c6128a5900ed51f;p=llvm Add LLVM_FALLTHROUGH. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309918 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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: