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/lib/Tooling/Tooling.cpp | |
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/lib/Tooling/Tooling.cpp')
-rw-r--r-- | clang/lib/Tooling/Tooling.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Tooling/Tooling.cpp b/clang/lib/Tooling/Tooling.cpp index 5d3de8aa56b..0db38db3c91 100644 --- a/clang/lib/Tooling/Tooling.cpp +++ b/clang/lib/Tooling/Tooling.cpp @@ -129,7 +129,7 @@ bool runToolOnCodeWithArgs(clang::FrontendAction *ToolAction, const Twine &Code, llvm::IntrusiveRefCntPtr<FileManager> Files( new FileManager(FileSystemOptions())); ToolInvocation Invocation(getSyntaxOnlyToolArgs(Args, FileNameRef), ToolAction, - Files.getPtr()); + Files.get()); SmallString<1024> CodeStorage; Invocation.mapVirtualFile(FileNameRef, @@ -352,7 +352,7 @@ int ClangTool::run(ToolAction *Action) { DEBUG({ llvm::dbgs() << "Processing: " << Command.first << ".\n"; }); - ToolInvocation Invocation(std::move(CommandLine), Action, Files.getPtr()); + ToolInvocation Invocation(std::move(CommandLine), Action, Files.get()); Invocation.setDiagnosticConsumer(DiagConsumer); for (const auto &MappedFile : MappedFileContents) { Invocation.mapVirtualFile(MappedFile.first, MappedFile.second); |