aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-04-26 15:50:38 -0700
committerGitHub <noreply@github.com>2025-04-26 15:50:38 -0700
commit8ba3a232d1985a75cf771f8832e911b6f8abe86b (patch)
tree8e594fd5202611048c67f65767c0d09f6c804b40 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parentfd3ca29fa00de35e7f99839a71d7a0d87f87a584 (diff)
downloadllvm-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.cpp2
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 "