[clang] [clang][DependencyScanning] Track dependencies from prebuilt modules to determine IsInStableDir (PR #132237)
Jan Svoboda via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 8 09:15:57 PDT 2025
================
@@ -237,6 +237,17 @@ class ASTReaderListener {
return true;
}
+ /// Overloaded member function of \c visitInputFile that should
+ /// be defined when the input file contains both the virtual and external
+ /// paths, for example when deserializing input files from AST files.
+ ///
+ /// \returns true to continue receiving the next input file, false to stop.
+ virtual bool visitInputFile(StringRef FilenameAsRequested,
+ StringRef ExternalFilename, bool isSystem,
----------------
jansvoboda11 wrote:
Nit: I think the `ExternalFilename` name is a bit misleading. That's only a concept in `llvm::RedirectingFileSystem` and even there it's controlled by a setting. In Clang, we'd call this just `Filename`.
https://github.com/llvm/llvm-project/pull/132237
More information about the cfe-commits
mailing list