================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits