diff --git a/clang/lib/Frontend/ASTUnit.cpp b/clang/lib/Frontend/ASTUnit.cpp --- a/clang/lib/Frontend/ASTUnit.cpp +++ b/clang/lib/Frontend/ASTUnit.cpp @@ -866,18 +866,6 @@ return AST; } -std::unique_ptr ASTUnit::LoadFromASTFile( - const std::string &Filename, const PCHContainerReader &PCHContainerRdr, - WhatToLoad ToLoad, IntrusiveRefCntPtr Diags, - const FileSystemOptions &FileSystemOpts, bool UseDebugInfo, - bool OnlyLocalDecls, CaptureDiagsKind CaptureDiagnostics, - bool AllowASTWithCompilerErrors, bool UserFilesAreVolatile) { - return LoadFromASTFile(Filename, PCHContainerRdr, ToLoad, Diags, - llvm::vfs::getRealFileSystem(), FileSystemOpts, - UseDebugInfo, OnlyLocalDecls, CaptureDiagnostics, - AllowASTWithCompilerErrors, UserFilesAreVolatile); -} - /// Add the given macro to the hash of all top-level entities. static void AddDefinedMacroToHash(const Token &MacroNameTok, unsigned &Hash) { Hash = llvm::djbHash(MacroNameTok.getIdentifierInfo()->getName(), Hash);