projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge alignment of common GlobalValue.
[oota-llvm.git]
/
unittests
/
IR
/
UserTest.cpp
diff --git
a/unittests/IR/UserTest.cpp
b/unittests/IR/UserTest.cpp
index 9c0e7b2750ef1c6fff82d8f1a7e4cdec0b7c1f5f..5572424d19ccb6848f2bc0b5f329402d2d6238f8 100644
(file)
--- a/
unittests/IR/UserTest.cpp
+++ b/
unittests/IR/UserTest.cpp
@@
-65,7
+65,7
@@
TEST(UserTest, ValueOpIteration) {
" ret void\n"
"}\n";
SMDiagnostic Err;
-
Module *M = ParseAssemblyString(ModuleString, NULL
, Err, C);
+
std::unique_ptr<Module> M = parseAssemblyString(ModuleString
, Err, C);
Function *F = M->getFunction("f");
BasicBlock &ExitBB = F->back();