[PATCH] D124816: [Tooling] use different FileManager for each CWD

Shi Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 6 23:41:00 PDT 2022


Kale updated this revision to Diff 427820.
Kale added a comment.

Reimplement ToolFileManager as a container of filemanagers which ToolInvocation takes by parameter. Also invalidate all file managers when using FileManager::setVirtualFileSystem().


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124816/new/

https://reviews.llvm.org/D124816

Files:
  clang/include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h
  clang/include/clang/Tooling/Tooling.h
  clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
  clang/lib/Tooling/Tooling.cpp
  clang/test/Tooling/multiple-source-include-different-header-with-same-relative-path.cpp
  clang/unittests/Tooling/DependencyScannerTest.cpp
  clang/unittests/Tooling/ToolingTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124816.427820.patch
Type: text/x-patch
Size: 22491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220507/4e784b3c/attachment-0001.bin>


More information about the cfe-commits mailing list