From 3a8c51480ff881ff7fcd5831bf1b31d3c66519ed Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 6 Feb 2022 10:54:44 -0800 Subject: [CodeGen] Use = default (NFC) Identified with modernize-use-equals-default --- llvm/lib/CodeGen/MachineBasicBlock.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp') diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp index 8c9d00d..8f1995f 100644 --- a/llvm/lib/CodeGen/MachineBasicBlock.cpp +++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp @@ -53,8 +53,7 @@ MachineBasicBlock::MachineBasicBlock(MachineFunction &MF, const BasicBlock *B) IrrLoopHeaderWeight = B->getIrrLoopHeaderWeight(); } -MachineBasicBlock::~MachineBasicBlock() { -} +MachineBasicBlock::~MachineBasicBlock() = default; /// Return the MCSymbol for this basic block. MCSymbol *MachineBasicBlock::getSymbol() const { -- cgit v1.1