summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Tooling
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-07-05 03:08:06 +0000
committerAlp Toker <alp@nuanti.com>2014-07-05 03:08:06 +0000
commitf994cef83693dcd0eb2c0e1c552fbc2a285488cf (patch)
tree1eefedea93e6ee9c4d5f5779e075854710164969 /clang/unittests/Tooling
parentedc902f3bb89f7d630cd7527656f96ae224c49ef (diff)
downloadbcm5719-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.cpp4
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
OpenPOWER on IntegriCloud