[clang] [clang][deps] Stop relying on name of inferred module maps (PR #114085)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 1 10:31:55 PDT 2024


jansvoboda11 wrote:

> Can this be tested?

Hmm, I'm not sure. The current tests for inferred module maps still pass. The other ways how `SourceManager` ends up overwriting a file are:
* is by using the `-remap-file`, which is unsupported with modules (`ASTWriter` intentionally asserts),
* using Clang rewriters (not sure if those can somehow end up in module files),
* performing code completion (again, not sure if that can somehow end up in a module file).

WDYT?

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


More information about the cfe-commits mailing list