aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-11-01 23:20:11 -0700
committerGitHub <noreply@github.com>2025-11-01 23:20:11 -0700
commitb82bde695e96a56a472b1bb60e3593a4064c60cc (patch)
treedf3e46c16cc18f6c8b751310f286a85d31bae1dc /llvm/lib/CodeGen/MachineScheduler.cpp
parentffe527c23cd8466569eba3799ed2ca7caa172815 (diff)
downloadllvm-b82bde695e96a56a472b1bb60e3593a4064c60cc.zip
llvm-b82bde695e96a56a472b1bb60e3593a4064c60cc.tar.gz
llvm-b82bde695e96a56a472b1bb60e3593a4064c60cc.tar.bz2
[Analysis, CodeGen] Use "= default" (NFC) (#166024)
Identified with modernize-use-equals-default.
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineScheduler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp
index 3ed1045..f18c051 100644
--- a/llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/llvm/lib/CodeGen/MachineScheduler.cpp
@@ -334,7 +334,7 @@ public:
LiveIntervals &LIS;
};
- MachineSchedulerImpl() {}
+ MachineSchedulerImpl() = default;
// Migration only
void setLegacyPass(MachineFunctionPass *P) { this->P = P; }
void setMFAM(MachineFunctionAnalysisManager *MFAM) { this->MFAM = MFAM; }
@@ -358,7 +358,7 @@ public:
MachineLoopInfo &MLI;
AAResults &AA;
};
- PostMachineSchedulerImpl() {}
+ PostMachineSchedulerImpl() = default;
// Migration only
void setLegacyPass(MachineFunctionPass *P) { this->P = P; }
void setMFAM(MachineFunctionAnalysisManager *MFAM) { this->MFAM = MFAM; }