[PATCH] D129748: [Modules] Disable preferred_name attribute in C++20 Modules
Chuanqi Xu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 18 20:36:25 PDT 2022
ChuanqiXu added a comment.
In D129748#3660650 <https://reviews.llvm.org/D129748#3660650>, @tahonermann wrote:
> I neglected to explicitly mention in conjunction with my last comment, but @ChuanqiXu, can you check to see if we are indeed serializing class template specializations "too early" and, if so, whether delaying such serialization until a defining point resolves the issue?
Personally, the problem is not **serializing** class template specializations "too early". The problem is that we are **deserializing** class template specializations "too early". The key point here is that Modules would read declarations **lazily** for performance reasons. This is a feature of modules.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129748/new/
https://reviews.llvm.org/D129748
More information about the cfe-commits
mailing list