[all-commits] [llvm/llvm-project] 7de7d2: [clang] CWG2398: improve overload resolution backw...
Matheus Izvekov via All-commits
all-commits at lists.llvm.org
Wed Sep 4 21:23:35 PDT 2024
Branch: refs/heads/users/mizvekov/clang-cwg2398-improve-overload-resolution
Home: https://github.com/llvm/llvm-project
Commit: 7de7d24ddbd2a932f045c1a4455126388978d21c
https://github.com/llvm/llvm-project/commit/7de7d24ddbd2a932f045c1a4455126388978d21c
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-09-05 (Thu, 05 Sep 2024)
Changed paths:
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
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