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

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


  Branch: refs/heads/users/mizvekov/member-pointer-deduction-fix
  Home:   https://github.com/llvm/llvm-project
  Commit: 839a8fc708bad03c3c82a1916d70652ab3b17b5e
      https://github.com/llvm/llvm-project/commit/839a8fc708bad03c3c82a1916d70652ab3b17b5e
  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/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.

Other existing potential users will be deduplicated by using this helper
in subsequent patches.

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