aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.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/CodeGenPrepare.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/CodeGenPrepare.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGenPrepare.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index 8ea1326..0309e22 100644
--- a/llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp
@@ -368,7 +368,7 @@ class CodeGenPrepare {
std::unique_ptr<DominatorTree> DT;
public:
- CodeGenPrepare(){};
+ CodeGenPrepare() = default;
CodeGenPrepare(const TargetMachine *TM) : TM(TM){};
/// If encounter huge function, we need to limit the build time.
bool IsHugeFunc = false;