[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 10:14:43 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:
I'd probably just defer to other definitions of `Filename` vs `FilenameAsRequested`:
```
/// Overloaded member function of \c visitInputFile that should
/// be defined when the listener cares about the distinction between
/// the file name and name-as-requested.
```
https://github.com/llvm/llvm-project/pull/132237
More information about the cfe-commits
mailing list