mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-05 17:18:55 +00:00
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
This commit is contained in:
parent
7273b29259
commit
cd680a19b7
@ -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…
x
Reference in New Issue
Block a user