projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modernize the .ll parsing interface.
[oota-llvm.git]
/
unittests
/
IR
/
ValueTest.cpp
diff --git
a/unittests/IR/ValueTest.cpp
b/unittests/IR/ValueTest.cpp
index 61e44a908d4e10cd2634323daee4c2162f23906c..dc5794b46d258a2d9a78aacc4a63f8ec19cfd423 100644
(file)
--- a/
unittests/IR/ValueTest.cpp
+++ b/
unittests/IR/ValueTest.cpp
@@
-34,7
+34,7
@@
TEST(ValueTest, UsedInBasicBlock) {
" ret void\n"
"}\n";
SMDiagnostic Err;
-
Module *M = ParseAssemblyString(ModuleString, nullptr
, Err, C);
+
std::unique_ptr<Module> M = parseAssemblyString(ModuleString
, Err, C);
Function *F = M->getFunction("f");