Skip to content

Commit bdb7d4a

Browse files
DavidSpickettgithub-actions[bot]
authored andcommitted
Automerge: [lldb][NFC] clang-format DisassemblerLLVMC.cpp
Noticed these bits in a PR I'm reviewing. Might as well fix them now.
2 parents b7ef7e0 + bf51a4d commit bdb7d4a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ class InstructionLLVMC : public lldb_private::Instruction {
559559
lldb::InstructionControlFlowKind
560560
GetControlFlowKind(const lldb_private::ExecutionContext *exe_ctx) override {
561561
DisassemblerScope disasm(*this, exe_ctx);
562-
if (disasm){
562+
if (disasm) {
563563
if (disasm->GetArchitecture().GetMachine() == llvm::Triple::x86)
564564
return x86::GetControlFlowKind(/*is_64b=*/false, m_opcode);
565565
else if (disasm->GetArchitecture().GetMachine() == llvm::Triple::x86_64)
@@ -1608,9 +1608,8 @@ DisassemblerLLVMC::DisassemblerLLVMC(const ArchSpec &arch,
16081608
// thumb instruction disassembler.
16091609
if (llvm_arch == llvm::Triple::arm) {
16101610
std::string thumb_triple(thumb_arch.GetTriple().getTriple());
1611-
m_alternate_disasm_up =
1612-
MCDisasmInstance::Create(thumb_triple.c_str(), "", features_str.c_str(),
1613-
flavor, *this);
1611+
m_alternate_disasm_up = MCDisasmInstance::Create(
1612+
thumb_triple.c_str(), "", features_str.c_str(), flavor, *this);
16141613
if (!m_alternate_disasm_up)
16151614
m_disasm_up.reset();
16161615

0 commit comments

Comments
 (0)