[clang] [Module] Prefer precompiled module even when header is private (PR #141792)

2025-05-28 Thread Ilya Biryukov via cfe-commits
ilya-biryukov wrote: This change will fix the breakages we've had internally with #138227, unblocking it. https://github.com/llvm/llvm-project/pull/141792 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/l

[clang] [Module] Prefer precompiled module even when header is private (PR #141792)

2025-05-28 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Ilya Biryukov (ilya-biryukov) Changes Currently, Clang picks a module where the header is non-private even when the header is textual and the other is modular. This change makes it prefer a module where the header is modular instead. Acce

[clang] [Module] Prefer precompiled module even when header is private (PR #141792)

2025-05-28 Thread Ilya Biryukov via cfe-commits
https://github.com/ilya-biryukov created https://github.com/llvm/llvm-project/pull/141792 Currently, Clang picks a module where the header is non-private even when the header is textual and the other is modular. This change makes it prefer a module where the header is modular instead. Access c