mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-05 02:07:56 +00:00
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
llvm-svn: 304273
This commit is contained in:
parent
8a4fce7eab
commit
1edf6608af
@ -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