[PATCH] D14585: Adding qualifier for make_unique.
Mike Aizatsky via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 11 13:31:14 PST 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL252804: Adding qualifier for make_unique. (authored by aizatsky).
Changed prior to commit:
http://reviews.llvm.org/D14585?vs=39966&id=39967#toc
Repository:
rL LLVM
http://reviews.llvm.org/D14585
Files:
llvm/trunk/tools/sancov/sancov.cc
Index: llvm/trunk/tools/sancov/sancov.cc
===================================================================
--- llvm/trunk/tools/sancov/sancov.cc
+++ llvm/trunk/tools/sancov/sancov.cc
@@ -116,7 +116,7 @@
return make_error_code(errc::illegal_byte_sequence);
}
- auto Addrs = make_unique<std::vector<uint64_t>>();
+ auto Addrs = llvm::make_unique<std::vector<uint64_t>>();
switch (Header->Bitness) {
case Bitness64:
@@ -143,7 +143,7 @@
for (const auto &Cov : Covs)
Addrs.insert(Cov->Addrs->begin(), Cov->Addrs->end());
- auto AddrsVector = make_unique<std::vector<uint64_t>>(
+ auto AddrsVector = llvm::make_unique<std::vector<uint64_t>>(
Addrs.begin(), Addrs.end());
return std::unique_ptr<CoverageData>(
new CoverageData(std::move(AddrsVector)));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14585.39967.patch
Type: text/x-patch
Size: 823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151111/d5023810/attachment.bin>
More information about the llvm-commits
mailing list