[clang] [Modules] Add -cc1 -flate-module-map-file to load module maps after PCMs (PR #88893)
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 17 01:25:13 PDT 2024
ilya-biryukov wrote:
> Have you tried changing the behavior of the existing `-fmodule-map-file=` to load the file after we load module files? If so, what kinds of things do you see breaking or changing? If we can avoid it, I think it would be better to only have a single mode here, and loading the module files first seems to make a lot of sense given that they can make it unnecessary to load the module map files at all.
I did not do it because I was sure this will break the "module shadowing" rules after reading the code.
I'll try it now and get back with my findings.
https://github.com/llvm/llvm-project/pull/88893
More information about the cfe-commits
mailing list