diff options
author | Logan Chien <loganchien@google.com> | 2019-08-27 09:53:53 -0700 |
---|---|---|
committer | Logan Chien <loganchien@google.com> | 2019-08-27 09:53:53 -0700 |
commit | c071fe40899c9374a1ea143c4b6264cf05788d9d (patch) | |
tree | 8c036a18c873530c75e218d357103555145221cc /tools | |
parent | 74a62838fbaf0cc9286969506606c697b956ae33 (diff) | |
download | bionic-c071fe40899c9374a1ea143c4b6264cf05788d9d.tar.gz |
versioner: Update clang prebuilts to clang-r365631
This commit ports bionic version to clang-r365631.
`clang::CompilerInstance::setVirtualFileSystem(VFS)` has been replaced
by `clang::CompilerInstance::createFileManager(VFS)`.
Test: OUT_DIR=out ./prebuilts/clang-tools/build-prebuilts.sh
Bug: 140110040
Change-Id: Ia833d502765dd9885eb85026d513bdfdee3756f3
Diffstat (limited to 'tools')
-rw-r--r-- | tools/versioner/src/Driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/versioner/src/Driver.cpp b/tools/versioner/src/Driver.cpp index 3927480c9..d2c50a96b 100644 --- a/tools/versioner/src/Driver.cpp +++ b/tools/versioner/src/Driver.cpp @@ -258,7 +258,7 @@ void compileHeader(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> vfs, Compiler.setInvocation(std::move(invocation)); Compiler.setDiagnostics(diags.get()); - Compiler.setVirtualFileSystem(vfs); + Compiler.createFileManager(vfs); VersionerASTAction versioner_action(header_database, type); if (!Compiler.ExecuteAction(versioner_action)) { |