aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Spaits <gaborspaits1@gmail.com>2024-07-06 15:22:51 +0200
committerGitHub <noreply@github.com>2024-07-06 15:22:51 +0200
commitde88b2cb16af4bba659d0bb2ddf10bda681ec84d (patch)
tree3020abaf4950070d7063f239a3d612fb4388937a
parent4a9aef683df895934c26591404692d41a687b005 (diff)
downloadllvm-de88b2cb16af4bba659d0bb2ddf10bda681ec84d.zip
llvm-de88b2cb16af4bba659d0bb2ddf10bda681ec84d.tar.gz
llvm-de88b2cb16af4bba659d0bb2ddf10bda681ec84d.tar.bz2
[Clang] Simplify release notes and remove irrelevant comment (#96407)
As discussed before with @cor3ntin before (https://github.com/llvm/llvm-project/pull/94752) here is the simplification of the release note written for the previously mentioned PR and the removal of a comment that is no longer useful. (Sorry for creating this PR this late.) Co-authored-by: Gabor Spaits <Gabor.Spaits@hightec-rt.com>
-rw-r--r--clang/docs/ReleaseNotes.rst3
-rw-r--r--clang/lib/Sema/SemaInit.cpp3
2 files changed, 0 insertions, 6 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 3918707..edc932e 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -236,9 +236,6 @@ C++20 Feature Support
``<expected>`` from libstdc++ to work correctly with Clang.
- User defined constructors are allowed for copy-list-initialization with CTAD.
- The example code for deduction guides for std::map in
- (`cppreference <https://en.cppreference.com/w/cpp/container/map/deduction_guides>`_)
- will now work.
(#GH62925).
C++23 Feature Support
diff --git a/clang/lib/Sema/SemaInit.cpp b/clang/lib/Sema/SemaInit.cpp
index 64e43de..41753a1 100644
--- a/clang/lib/Sema/SemaInit.cpp
+++ b/clang/lib/Sema/SemaInit.cpp
@@ -9811,9 +9811,6 @@ QualType Sema::DeduceTemplateSpecializationFromInitializer(
// C++ [over.best.ics]p4:
// When [...] the constructor [...] is a candidate by
// - [over.match.copy] (in all cases)
- // FIXME: The "second phase of [over.match.list] case can also
- // theoretically happen here, but it's not clear whether we can
- // ever have a parameter of the right type.
if (TD) {
SmallVector<Expr *, 8> TmpInits;
for (Expr *E : Inits)