Author: Naveen Seth Hanig Date: 2026-02-18T22:55:11Z New Revision: fbfe23e16d5e49c9decccc981a4716e7cf81d242
URL: https://github.com/llvm/llvm-project/commit/fbfe23e16d5e49c9decccc981a4716e7cf81d242 DIFF: https://github.com/llvm/llvm-project/commit/fbfe23e16d5e49c9decccc981a4716e7cf81d242.diff LOG: [clang][DependencyScanning] Use OverlayFS naming consistently [NFC] (#172352) Changes the naming of the OverlayFileSystem parameter for more consistent use in `DependencyScanningTool.cpp`. (This addresses the feedback in https://github.com/llvm/llvm-project/pull/169964#discussion_r2620074122) Added: Modified: clang/lib/Tooling/DependencyScanningTool.cpp Removed: ################################################################################ diff --git a/clang/lib/Tooling/DependencyScanningTool.cpp b/clang/lib/Tooling/DependencyScanningTool.cpp index 2ae149e8fb2cf..30d2dc1b7c809 100644 --- a/clang/lib/Tooling/DependencyScanningTool.cpp +++ b/clang/lib/Tooling/DependencyScanningTool.cpp @@ -297,13 +297,13 @@ DependencyScanningTool::getModuleDependencies( static std::optional<SmallVector<std::string, 0>> getFirstCC1CommandLine( ArrayRef<std::string> CommandLine, DiagnosticsEngine &Diags, - llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> ScanFS) { + llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS) { // Compilation holds a non-owning a reference to the Driver, hence we need to // keep the Driver alive when we use Compilation. Arguments to commands may be // owned by Alloc when expanded from response files. llvm::BumpPtrAllocator Alloc; const auto [Driver, Compilation] = - buildCompilation(CommandLine, Diags, ScanFS, Alloc); + buildCompilation(CommandLine, Diags, OverlayFS, Alloc); if (!Compilation) return std::nullopt; _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
