[all-commits] [llvm/llvm-project] 612e4e: [C++20] [Modules] Instantiate pending instantiatio...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Mon Mar 10 20:36:39 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 612e4e9d6daff61eb480b9b3d9ca47f33168772e
https://github.com/llvm/llvm-project/commit/612e4e9d6daff61eb480b9b3d9ca47f33168772e
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M clang/lib/Sema/Sema.cpp
A clang/test/Modules/pr125999.cppm
Log Message:
-----------
[C++20] [Modules] Instantiate pending instantiations when GMF ends (#126842)
Close https://github.com/llvm/llvm-project/issues/125999
The cause of the problem is, when we instantiate the pending
instantiation, the owning module of the TU gets into 'foo' instead of
the GMF.
The concern of the patch is, I am not sure the point of 'pending'
instantiations. I mean, if there is a reason we **must** pending the
intantiations to the end of the TU.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list