================ @@ -109,9 +109,7 @@ ModuleDependencyScanner::scan(PathRef FilePath, using namespace clang::tooling; - llvm::SmallString<128> FilePathDir(FilePath); - llvm::sys::path::remove_filename(FilePathDir); - DependencyScanningTool ScanningTool(Service, TFS.view(FilePathDir)); ---------------- jansvoboda11 wrote:
Passing the input file directory to `TFS.view()` doesn't do anything besides setting the view's CWD. The scanner immediately overwrites it with the actual CWD as provided by the compilation database. https://github.com/llvm/llvm-project/pull/181424 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
