diff options
| author | Alp Toker <alp@nuanti.com> | 2014-07-05 03:08:06 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-07-05 03:08:06 +0000 |
| commit | f994cef83693dcd0eb2c0e1c552fbc2a285488cf (patch) | |
| tree | 1eefedea93e6ee9c4d5f5779e075854710164969 /clang/unittests/Tooling | |
| parent | edc902f3bb89f7d630cd7527656f96ae224c49ef (diff) | |
| download | bcm5719-llvm-f994cef83693dcd0eb2c0e1c552fbc2a285488cf.tar.gz bcm5719-llvm-f994cef83693dcd0eb2c0e1c552fbc2a285488cf.zip | |
Track IntrusiveRefCntPtr::get() changes from LLVM r212366
llvm-svn: 212369
Diffstat (limited to 'clang/unittests/Tooling')
| -rw-r--r-- | clang/unittests/Tooling/ToolingTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/unittests/Tooling/ToolingTest.cpp b/clang/unittests/Tooling/ToolingTest.cpp index 2b57c16ac52..9aede044f69 100644 --- a/clang/unittests/Tooling/ToolingTest.cpp +++ b/clang/unittests/Tooling/ToolingTest.cpp @@ -147,7 +147,7 @@ TEST(ToolInvocation, TestMapVirtualFile) { Args.push_back("-fsyntax-only"); Args.push_back("test.cpp"); clang::tooling::ToolInvocation Invocation(Args, new SyntaxOnlyAction, - Files.getPtr()); + Files.get()); Invocation.mapVirtualFile("test.cpp", "#include <abc>\n"); Invocation.mapVirtualFile("def/abc", "\n"); EXPECT_TRUE(Invocation.run()); @@ -166,7 +166,7 @@ TEST(ToolInvocation, TestVirtualModulesCompilation) { Args.push_back("-fsyntax-only"); Args.push_back("test.cpp"); clang::tooling::ToolInvocation Invocation(Args, new SyntaxOnlyAction, - Files.getPtr()); + Files.get()); Invocation.mapVirtualFile("test.cpp", "#include <abc>\n"); Invocation.mapVirtualFile("def/abc", "\n"); // Add a module.map file in the include directory of our header, so we trigger |

