[PATCH] D126881: Use default arguments instead of overloads.
Andy Soffer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 2 07:31:42 PDT 2022
asoffer updated this revision to Diff 433745.
asoffer added a comment.
Remove non-existant overload from cpp file.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126881/new/
https://reviews.llvm.org/D126881
Files:
clang/lib/Frontend/ASTUnit.cpp
Index: clang/lib/Frontend/ASTUnit.cpp
===================================================================
--- clang/lib/Frontend/ASTUnit.cpp
+++ clang/lib/Frontend/ASTUnit.cpp
@@ -866,18 +866,6 @@
return AST;
}
-std::unique_ptr<ASTUnit> ASTUnit::LoadFromASTFile(
- const std::string &Filename, const PCHContainerReader &PCHContainerRdr,
- WhatToLoad ToLoad, IntrusiveRefCntPtr<DiagnosticsEngine> 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);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126881.433745.patch
Type: text/x-patch
Size: 1130 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220602/f3ba17fb/attachment.bin>
More information about the cfe-commits
mailing list