aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.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/LiveDebugValues/InstrRefBasedImpl.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/LiveDebugValues/InstrRefBasedImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
index 6af5f07..b6632f9 100644
--- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
+++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
@@ -899,7 +899,7 @@ MachineInstrBuilder MLocTracker::emitLoc(Optional<LocIdx> MLoc,
}
/// Default construct and initialize the pass.
-InstrRefBasedLDV::InstrRefBasedLDV() {}
+InstrRefBasedLDV::InstrRefBasedLDV() = default;
bool InstrRefBasedLDV::isCalleeSaved(LocIdx L) const {
unsigned Reg = MTracker->LocIdxToLocID[L];