From: Galina Kistanova Date: Sat, 3 Jun 2017 05:19:32 +0000 (+0000) Subject: Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd680a19b73f8695de1d260830ba6c97d88f6bc2;p=llvm Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304638 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/lib/Transforms/Instrumentation/MemorySanitizer.cpp index ff753c20a94..df4ee9969c0 100644 --- a/lib/Transforms/Instrumentation/MemorySanitizer.cpp +++ b/lib/Transforms/Instrumentation/MemorySanitizer.cpp @@ -2087,6 +2087,7 @@ struct MemorySanitizerVisitor : public InstVisitor { switch (I.getNumArgOperands()) { case 3: assert(isa(I.getArgOperand(2)) && "Invalid rounding mode"); + LLVM_FALLTHROUGH; case 2: CopyOp = I.getArgOperand(0); ConvertOp = I.getArgOperand(1);