[all-commits] [llvm/llvm-project] b3ea9b: Reland "[clang] Fix CTAD for aggregates for nested...
antangelo via All-commits
all-commits at lists.llvm.org
Fri Jan 19 20:06:56 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b3ea9b398fe656fab5d78d6b2c58bba975badc07
https://github.com/llvm/llvm-project/commit/b3ea9b398fe656fab5d78d6b2c58bba975badc07
Author: antangelo <contact at antangelo.com>
Date: 2024-01-19 (Fri, 19 Jan 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/test/SemaTemplate/nested-implicit-deduction-guides.cpp
Log Message:
-----------
Reland "[clang] Fix CTAD for aggregates for nested template classes" (#78670)
Reland of #78387
Use the template pattern in determining whether to synthesize the
aggregate deduction guide, and update
DeclareImplicitDeductionGuideFromInitList to substitute outer template
arguments.
The tests in the original patch made an assumption about the size of a
pointer type, and this led to them failing on targets with 32-bit
pointers. The tests have been updated to not depend on the size of any
type. This only requires updates to the test file, no functionality has
otherwise changed between this and the original patch.
More information about the All-commits
mailing list