diff options
author | Matheus Izvekov <mizvekov@gmail.com> | 2024-10-10 04:50:53 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-10 04:50:53 -0300 |
commit | 224519b08945637a85e9798c78286643288f7b77 (patch) | |
tree | 0508b554408444842c138850e5874b8f831f9023 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 12ae1ea13e68657ac75d65fd62385cae5272e2cb (diff) | |
download | llvm-224519b08945637a85e9798c78286643288f7b77.zip llvm-224519b08945637a85e9798c78286643288f7b77.tar.gz llvm-224519b08945637a85e9798c78286643288f7b77.tar.bz2 |
[clang] CWG2398: improve overload resolution backwards compat (#107350)
With this change, we discriminate if the primary template and which
partial specializations would have participated in overload resolution
prior to P0522 changes.
We collect those in an initial set. If this set is not empty, or the
primary template would have matched, we proceed with this set as the
candidates for overload resolution.
Otherwise, we build a new overload set with everything else, and proceed
as usual.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions