[all-commits] [llvm/llvm-project] f8921c: [clang] fix a bug matching constrained out-of-line...
Matheus Izvekov via All-commits
all-commits at lists.llvm.org
Sat Apr 18 12:05:43 PDT 2026
Branch: refs/heads/users/mizvekov/out-of-line-def-bug
Home: https://github.com/llvm/llvm-project
Commit: f8921c64e5d1e26fb4649b4ebbce482f78281ff4
https://github.com/llvm/llvm-project/commit/f8921c64e5d1e26fb4649b4ebbce482f78281ff4
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2026-04-18 (Sat, 18 Apr 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaTemplateDeductionGuide.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/test/SemaTemplate/concepts-out-of-line-def.cpp
Log Message:
-----------
[clang] fix a bug matching constrained out-of-line definitions of class member functions
The method which gathered the template arguments for transforming constraints
was incorrectly skipping adding the arguments for function templates which are
class members.
This fixes that, and removes an undocumented workaround for template alias CTAD.
Also adds a test case showing #139276 causes a profiling issue with PackIndexExprs,
which for the tests added in that PR gave the false impression they were fixing the
problem, but were actually causing the implementation to be too accepting, which
masked the bug solved in this patch.
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