[all-commits] [llvm/llvm-project] 3609e0: [clang] member pointer class qualification fix (#1...
Matheus Izvekov via All-commits
all-commits at lists.llvm.org
Thu May 29 22:25:42 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3609e09aa7ee03ee529e1c4cba0931027d674d8c
https://github.com/llvm/llvm-project/commit/3609e09aa7ee03ee529e1c4cba0931027d674d8c
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2025-05-30 (Fri, 30 May 2025)
Changed paths:
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/test/SemaCXX/member-pointer.cpp
Log Message:
-----------
[clang] member pointer class qualification fix (#142081)
This fixes a regression introduced in
https://github.com/llvm/llvm-project/pull/130537,
which was reported here:
https://github.com/llvm/llvm-project/pull/132401#issuecomment-2839690599
When deducing member pointers class, ignore top level qualifiers on the
argument side, since the class portion of a member pointer is a
nested-name-specifier, and these just nominate an entity.
Qualifiers on the parameter side are fine since deduction allows the
parameter side to be more qualified, and these qualifiers won't be part
of the result.
Since this regression was never released, there are no release notes.
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