diff options
author | Adrian Prantl <aprantl@apple.com> | 2015-01-21 21:23:35 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2015-01-21 21:23:35 +0000 |
commit | abf5553ec7cc049005278e74571c29375847efff (patch) | |
tree | a673c84bef5a1a4dfe7b148cefe9ac59daaba9d7 /llvm/unittests/IR/IRBuilderTest.cpp | |
parent | e4b48c635cec23bc28716596bff4ef8424607b69 (diff) | |
download | bcm5719-llvm-abf5553ec7cc049005278e74571c29375847efff.tar.gz bcm5719-llvm-abf5553ec7cc049005278e74571c29375847efff.zip |
simplify expression
llvm-svn: 226701
Diffstat (limited to 'llvm/unittests/IR/IRBuilderTest.cpp')
-rw-r--r-- | llvm/unittests/IR/IRBuilderTest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/unittests/IR/IRBuilderTest.cpp b/llvm/unittests/IR/IRBuilderTest.cpp index 018914da8c9..08a729aba50 100644 --- a/llvm/unittests/IR/IRBuilderTest.cpp +++ b/llvm/unittests/IR/IRBuilderTest.cpp @@ -294,9 +294,7 @@ TEST_F(IRBuilderTest, DIBuilder) { auto File = DIB.createFile("F.CBL", "/"); auto CU = DIB.createCompileUnit(dwarf::DW_LANG_Cobol74, "F.CBL", "/", "llvm-cobol74", true, "", 0); - auto Type = - DIB.createSubroutineType(File, - DIB.getOrCreateTypeArray(ArrayRef<Metadata*>())); + auto Type = DIB.createSubroutineType(File, DIB.getOrCreateTypeArray(None)); auto SP = DIB.createFunction(CU, "foo", "", File, 1, Type, false, true, 1, 0, true, F); EXPECT_TRUE(SP.Verify()); |