forked from OSchip/llvm-project
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
llvm-svn: 304638
This commit is contained in:
parent
55344aba7e
commit
e9cacb6ae8
|
@ -2087,6 +2087,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
|
|||
switch (I.getNumArgOperands()) {
|
||||
case 3:
|
||||
assert(isa<ConstantInt>(I.getArgOperand(2)) && "Invalid rounding mode");
|
||||
LLVM_FALLTHROUGH;
|
||||
case 2:
|
||||
CopyOp = I.getArgOperand(0);
|
||||
ConvertOp = I.getArgOperand(1);
|
||||
|
|
Loading…
Reference in New Issue