Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.

llvm-svn: 304273
This commit is contained in:
Galina Kistanova 2017-05-31 01:54:18 +00:00
parent 8a4fce7eab
commit 1edf6608af

View File

@ -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: