projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace OwningPtr<T> with std::unique_ptr<T>.
[oota-llvm.git]
/
unittests
/
IR
/
LegacyPassManagerTest.cpp
diff --git
a/unittests/IR/LegacyPassManagerTest.cpp
b/unittests/IR/LegacyPassManagerTest.cpp
index 284a513b52254225fef0484cbee8ebdf53837801..df6f460df955b60e7d2371eec500b5ce27a1c6d2 100644
(file)
--- a/
unittests/IR/LegacyPassManagerTest.cpp
+++ b/
unittests/IR/LegacyPassManagerTest.cpp
@@
-346,7
+346,7
@@
namespace llvm {
template<typename T>
void MemoryTestHelper(int run) {
-
OwningP
tr<Module> M(makeLLVMModule());
+
std::unique_p
tr<Module> M(makeLLVMModule());
T *P = new T();
PassManager Passes;
Passes.add(new DataLayoutPass(M.get()));