diff options
author | Kazu Hirata <kazu@google.com> | 2025-04-26 15:50:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-26 15:50:38 -0700 |
commit | 8ba3a232d1985a75cf771f8832e911b6f8abe86b (patch) | |
tree | 8e594fd5202611048c67f65767c0d09f6c804b40 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | fd3ca29fa00de35e7f99839a71d7a0d87f87a584 (diff) | |
download | llvm-8ba3a232d1985a75cf771f8832e911b6f8abe86b.zip llvm-8ba3a232d1985a75cf771f8832e911b6f8abe86b.tar.gz llvm-8ba3a232d1985a75cf771f8832e911b6f8abe86b.tar.bz2 |
[llvm] Use llvm::copy (NFC) (#137470)
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugVariables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp index 0e7571b..36e53c8 100644 --- a/llvm/lib/CodeGen/LiveDebugVariables.cpp +++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp @@ -134,7 +134,7 @@ public: LocNoCount = LocNoVec.size(); if (LocNoCount > 0) { LocNos = std::make_unique<unsigned[]>(LocNoCount); - std::copy(LocNoVec.begin(), LocNoVec.end(), loc_nos_begin()); + llvm::copy(LocNoVec, loc_nos_begin()); } } else { LLVM_DEBUG(dbgs() << "Found debug value with 64+ unique machine " |