[all-commits] [llvm/llvm-project] 25558a: [C++20][Modules] Update ADL to handle basic.lookup...
iains via All-commits
all-commits at lists.llvm.org
Mon Jul 25 06:29:34 PDT 2022
Author: Iain Sandoe <iain at sandoe.co.uk>
Date: 2022-07-25 (Mon, 25 Jul 2022)
[C++20][Modules] Update ADL to handle basic.lookup.argdep p4 [P1815R2 part 1]
This includes the revised provisions of [basic.lookup.argdep] p4
1. ADL is amended to handle p 4.3 where functions in trasitively imported modules may
become visible when they are exported in the same namespace as a visible type.
2. If a function is in a different modular TU, and has internal-linkage, we invalidate
its entry in an overload set.
[basic.lookup.argdep] p5 ex 2 now passes.
Differential Revision: https://reviews.llvm.org/D129174
More information about the All-commits