aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/PeepholeOptimizer.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-02-06 10:54:44 -0800
committerKazu Hirata <kazu@google.com>2022-02-06 10:54:44 -0800
commit3a8c51480ff881ff7fcd5831bf1b31d3c66519ed (patch)
treec1a0bb087f5e8965e26f02be9a8ee9a77db015b9 /llvm/lib/CodeGen/PeepholeOptimizer.cpp
parent631b94cc22a83205c1d26baadb579b9c5576c8eb (diff)
downloadllvm-3a8c51480ff881ff7fcd5831bf1b31d3c66519ed.zip
llvm-3a8c51480ff881ff7fcd5831bf1b31d3c66519ed.tar.gz
llvm-3a8c51480ff881ff7fcd5831bf1b31d3c66519ed.tar.bz2
[CodeGen] Use = default (NFC)
Identified with modernize-use-equals-default
Diffstat (limited to 'llvm/lib/CodeGen/PeepholeOptimizer.cpp')
-rw-r--r--llvm/lib/CodeGen/PeepholeOptimizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PeepholeOptimizer.cpp b/llvm/lib/CodeGen/PeepholeOptimizer.cpp
index f9b16d2..66b4dcdb 100644
--- a/llvm/lib/CodeGen/PeepholeOptimizer.cpp
+++ b/llvm/lib/CodeGen/PeepholeOptimizer.cpp
@@ -810,7 +810,7 @@ protected:
unsigned CurrentSrcIdx = 0; ///< The index of the source being rewritten.
public:
Rewriter(MachineInstr &CopyLike) : CopyLike(CopyLike) {}
- virtual ~Rewriter() {}
+ virtual ~Rewriter() = default;
/// Get the next rewritable source (SrcReg, SrcSubReg) and
/// the related value that it affects (DstReg, DstSubReg).