[clang] [clang] Add support for passing FileSystem to buildASTFromCodeWithArgs() (PR #123042)

kadir çetinkaya via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 15 04:55:56 PST 2025


================
@@ -223,7 +223,11 @@ buildASTFromCode(StringRef Code, StringRef FileName = "input.cc",
 /// \param PCHContainerOps The PCHContainerOperations for loading and creating
 /// clang modules.
 ///
-/// \param Adjuster A function to filter the command line arguments as specified.
+/// \param Adjuster A function to filter the command line arguments as
+/// specified.
+///
+/// \param FileSystem FileSystem for managing and looking up files.
----------------
kadircet wrote:

can we refer to this as `BaseFS` instead and mention that `VirtualMappedFiles` will take precedence over contents in `BaseFS`?

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


More information about the cfe-commits mailing list