[all-commits] [llvm/llvm-project] cda542: [clang] Pass VFS into `ASTUnit::LoadFromASTFile()`...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Thu Sep 18 11:08:01 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cda542dd21eb550c58b398f1a47216ed55edf72d
      https://github.com/llvm/llvm-project/commit/cda542dd21eb550c58b398f1a47216ed55edf72d
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2025-09-18 (Thu, 18 Sep 2025)

  Changed paths:
    M clang/include/clang/Frontend/ASTUnit.h
    M clang/lib/CrossTU/CrossTranslationUnit.cpp
    M clang/lib/Frontend/ASTMerge.cpp
    M clang/lib/Frontend/ASTUnit.cpp
    M clang/lib/Frontend/FrontendAction.cpp
    M clang/tools/c-index-test/core_main.cpp
    M clang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp
    M clang/tools/libclang/CIndex.cpp
    M clang/unittests/Frontend/ASTUnitTest.cpp

  Log Message:
  -----------
  [clang] Pass VFS into `ASTUnit::LoadFromASTFile()` (#159166)

This PR makes the `VFS` parameter to `ASTUnit::LoadFromASTFile()`
required and explicit, rather than silently defaulting to the real file
system. This makes it easy to correctly propagate the fully-configured
VFS and load any input files like the rest of the compiler does.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list