[clang] [clang][modules] Guard against bad -fmodule-file mappings (#132059) (PR #133462)
Chuanqi Xu via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 1 23:51:26 PDT 2025
https://github.com/ChuanqiXu9 commented:
Thanks. What I feel not good is passing `ExpectedName` and `ModuleMismatch` all around. I am wondering if we can check it by inserting a check in `ASTReader::ReadControlBlock` in `case IMPORT:` where we can check the `ImportedName` and the name stored in loaded module.
https://github.com/llvm/llvm-project/pull/133462
More information about the cfe-commits
mailing list