[PATCH] D97288: Added `Follow` parameter to llvm::vfs::FileSystem::status()

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 23 07:00:31 PST 2021


alexfh created this revision.
alexfh added a reviewer: sammccall.
Herald added subscribers: dexonsmith, usaxena95, kadircet, arphaman, hiraditya.
alexfh requested review of this revision.
Herald added projects: clang, LLVM.
Herald added a subscriber: llvm-commits.

Currently, status() calls always resolve symlinks. This patch adds a parameter
to control this behavior.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97288

Files:
  clang-tools-extra/clangd/FS.cpp
  clang-tools-extra/clangd/unittests/ClangdTests.cpp
  clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
  clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
  clang/unittests/Driver/DistroTest.cpp
  llvm/include/llvm/Support/VirtualFileSystem.h
  llvm/lib/Support/FileCollector.cpp
  llvm/lib/Support/VirtualFileSystem.cpp
  llvm/unittests/Support/VirtualFileSystemTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97288.325780.patch
Type: text/x-patch
Size: 11111 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210223/a7c766ab/attachment-0001.bin>


More information about the cfe-commits mailing list