ian-twilightcoder wrote: > > Hmm, this will probably only work if you compile `A` into a PCM and then > > pass it to `B`. This is not how "Modules/preprocess-decluse.cpp" is set up. > > In our case we always have a chain A <- B <- C. A.modulemap can be affecting > for B but should not be for C. (Approximately, A covers approximately clang's > headers (textual), B covers the standard library (modular). Every other > library C sees A.modulemap, B.modulemap, B.pcm. There is no PCM for A).
clang's headers all have proper modules now, are you sure you still need A? https://github.com/llvm/llvm-project/pull/89441 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits