forked from OSchip/llvm-project
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
llvm-svn: 304273
This commit is contained in:
parent
be3e7ba45e
commit
49b6023095
|
@ -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