mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-30 23:21:04 +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@304273 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a76241a0a5
commit
e0a34d1987
@ -261,6 +261,7 @@ void MachODumper::dumpRebaseOpcodes(std::unique_ptr<MachOYAML::Object> &Y) {
|
||||
ULEB = decodeULEB128(OpCode + 1, &Count);
|
||||
RebaseOp.ExtraData.push_back(ULEB);
|
||||
OpCode += Count;
|
||||
LLVM_FALLTHROUGH;
|
||||
// Intentionally no break here -- This opcode has two ULEB values
|
||||
case MachO::REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB:
|
||||
case MachO::REBASE_OPCODE_ADD_ADDR_ULEB:
|
||||
@ -308,6 +309,7 @@ void MachODumper::dumpBindOpcodes(
|
||||
ULEB = decodeULEB128(OpCode + 1, &Count);
|
||||
BindOp.ULEBExtraData.push_back(ULEB);
|
||||
OpCode += Count;
|
||||
LLVM_FALLTHROUGH;
|
||||
// Intentionally no break here -- this opcode has two ULEB values
|
||||
|
||||
case MachO::BIND_OPCODE_SET_DYLIB_ORDINAL_ULEB:
|
||||
|
Loading…
Reference in New Issue
Block a user