[all-commits] [llvm/llvm-project] d1831e: [clang] fix deduction of member pointers with depe...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Wed Mar 26 09:51:18 PDT 2025


  Branch: refs/heads/users/mizvekov/member-pointer-deduction-fix
  Home:   https://github.com/llvm/llvm-project
  Commit: d1831e84e62f5a100de193619cbfdf9a1d403674
      https://github.com/llvm/llvm-project/commit/d1831e84e62f5a100de193619cbfdf9a1d403674
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M clang/include/clang/AST/NestedNameSpecifier.h
    M clang/lib/AST/NestedNameSpecifier.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/test/SemaCXX/member-pointer.cpp
    M clang/test/SemaTemplate/instantiation-backtrace.cpp

  Log Message:
  -----------
  [clang] fix deduction of member pointers with dependent named classes

This fixes a regression when interpreting a nested name specifier
for deduction purposes in member pointers.

This introduces a helper for fully translating a nested name specifier into a
type.

This regression was introduced here: https://github.com/llvm/llvm-project/pull/130537
and was reported here: https://github.com/llvm/llvm-project/pull/132401#issuecomment-2751489581

No release notes, since the regression was never released.



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