[clang] [llvm] [llvm][clang] Trace VFS calls (PR #88326)

via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 10 16:06:46 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff e72c949c15208ba3dd53a9cebfee02734965a678 540321e84dbd3c5687cfcc60e9deec79d790896e -- clang/include/clang/Driver/Compilation.h clang/include/clang/Frontend/CompilerInstance.h clang/include/clang/Frontend/CompilerInvocation.h clang/include/clang/Frontend/FrontendOptions.h clang/lib/Driver/Driver.cpp clang/lib/Driver/ToolChains/Clang.cpp clang/lib/Frontend/CompilerInstance.cpp clang/lib/Frontend/CompilerInvocation.cpp clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp clang/tools/clang-scan-deps/ClangScanDeps.cpp clang/tools/driver/cc1_main.cpp llvm/include/llvm/Support/VirtualFileSystem.h llvm/lib/Support/VirtualFileSystem.cpp llvm/unittests/Support/VirtualFileSystemTest.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/include/clang/Frontend/CompilerInstance.h b/clang/include/clang/Frontend/CompilerInstance.h
index 2135002366..7f645ee9e9 100644
--- a/clang/include/clang/Frontend/CompilerInstance.h
+++ b/clang/include/clang/Frontend/CompilerInstance.h
@@ -95,8 +95,8 @@ class CompilerInstance : public ModuleLoader {
 public:
   /// The instrumenting file system.
   IntrusiveRefCntPtr<llvm::vfs::InstrumentingFileSystem> IVFS;
-private:
 
+private:
   /// The file manager.
   IntrusiveRefCntPtr<FileManager> FileMgr;
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/88326


More information about the cfe-commits mailing list