[all-commits] [llvm/llvm-project] fed4e3: [clang] Exclude non-template classes when checking...
antangelo via All-commits
all-commits at lists.llvm.org
Wed Dec 6 17:18:12 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fed4e3a6eb5d04856169951347892d983695f86a
https://github.com/llvm/llvm-project/commit/fed4e3a6eb5d04856169951347892d983695f86a
Author: antangelo <contact at antangelo.com>
Date: 2023-12-06 (Wed, 06 Dec 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaTemplate.cpp
A clang/test/SemaTemplate/GH71595.cpp
Log Message:
-----------
[clang] Exclude non-template classes when checking if constraint refers to containing template arguments (#74265)
When checking if the constraint uses any enclosing template parameters
for [temp.friend]p9, if a containing record is used as argument, we
assume that the constraint depends on enclosing template parameters
without checking if the record is templated. The reproducer from the bug
is included as a test case.
Fixes #71595
More information about the All-commits
mailing list