[llvm] r309918 - Add LLVM_FALLTHROUGH.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 20:52:34 PDT 2017


Author: rafael
Date: Wed Aug  2 20:52:34 2017
New Revision: 309918

URL: http://llvm.org/viewvc/llvm-project?rev=309918&view=rev
Log:
Add LLVM_FALLTHROUGH.

Modified:
    llvm/trunk/include/llvm/Support/CodeGenCWrappers.h

Modified: llvm/trunk/include/llvm/Support/CodeGenCWrappers.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/CodeGenCWrappers.h?rev=309918&r1=309917&r2=309918&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/CodeGenCWrappers.h (original)
+++ llvm/trunk/include/llvm/Support/CodeGenCWrappers.h Wed Aug  2 20:52:34 2017
@@ -27,6 +27,7 @@ inline Optional<CodeModel::Model> unwrap
   switch (Model) {
   case LLVMCodeModelJITDefault:
     JIT = true;
+    LLVM_FALLTHROUGH;
   case LLVMCodeModelDefault:
     return None;
   case LLVMCodeModelSmall:




More information about the llvm-commits mailing list