aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-11-17 01:44:25 +0000
committerFangrui Song <maskray@google.com>2018-11-17 01:44:25 +0000
commit75709329774ba0596bcd99abe4037dacfe28a053 (patch)
treeec75e41ad7e05d81e381911b019f605d019ff5fe /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parenta900471d58fda9c5c68b0177b912a3ea174b5d18 (diff)
downloadllvm-75709329774ba0596bcd99abe4037dacfe28a053.zip
llvm-75709329774ba0596bcd99abe4037dacfe28a053.tar.gz
llvm-75709329774ba0596bcd99abe4037dacfe28a053.tar.bz2
Use llvm::copy. NFC
llvm-svn: 347126
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index 31a6335..9f6027c 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -4026,7 +4026,7 @@ void ModuleBitcodeWriter::writeModuleHash(size_t BlockStartPos) {
if (ModHash)
// Save the written hash value.
- std::copy(std::begin(Vals), std::end(Vals), std::begin(*ModHash));
+ llvm::copy(Vals, std::begin(*ModHash));
}
}