[all-commits] [llvm/llvm-project] 640ef5: Reapply "[Clang][Sema] Diagnose unexpanded packs i...
Krystian Stasiowski via All-commits
all-commits at lists.llvm.org
Thu Jan 4 08:31:02 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 640ef55bbbc081b72a87f71cab1bce08762e48b0
https://github.com/llvm/llvm-project/commit/640ef55bbbc081b72a87f71cab1bce08762e48b0
Author: Krystian Stasiowski <sdkrystian at gmail.com>
Date: 2024-01-04 (Thu, 04 Jan 2024)
Changed paths:
M clang-tools-extra/test/clang-doc/templates.cpp
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaDecl.cpp
M clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp
Log Message:
-----------
Reapply "[Clang][Sema] Diagnose unexpanded packs in the template argument lists of function template specializations" (#76876) (#76915)
This reapplies f034044ad94d6f7ccec13d89f08acac257ed28bb after it was
reverted by 687396b5f4ba0713d103ebd172b308e92eb930cc due to a test
failure in clang-doc.
The test in question declares a partial specialization of a function
template, as well as an explicit specialization of the same function
template. Both declarations are now set as invalid, meaning neither is
emitted by clang-doc.
Since this is the sole test of function template specializations in
clang-doc, I presume the intent is for the partial specialization to
actually be the primary template. Doing so results in the expected
output.
More information about the All-commits
mailing list