[all-commits] [llvm/llvm-project] 224519: [clang] CWG2398: improve overload resolution backw...
Matheus Izvekov via All-commits
all-commits at lists.llvm.org
Thu Oct 10 00:51:14 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 224519b08945637a85e9798c78286643288f7b77
https://github.com/llvm/llvm-project/commit/224519b08945637a85e9798c78286643288f7b77
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-10-10 (Thu, 10 Oct 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Sema/TemplateDeduction.h
M clang/lib/Sema/SemaLookup.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/test/SemaTemplate/cwg2398.cpp
Log Message:
-----------
[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.
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