[all-commits] [llvm/llvm-project] ab52c7: [clang] implement common-sugar for adjusted member...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Sat Mar 29 20:34:17 PDT 2025


  Branch: refs/heads/users/mizvekov/member-pointer-common-sugar
  Home:   https://github.com/llvm/llvm-project
  Commit: ab52c7c3b2ec7e735966bd7f51da2ceb227b3fc5
      https://github.com/llvm/llvm-project/commit/ab52c7c3b2ec7e735966bd7f51da2ceb227b3fc5
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-03-30 (Sun, 30 Mar 2025)

  Changed paths:
    M clang/lib/AST/ASTContext.cpp
    M clang/test/SemaCXX/sugar-common-types.cpp

  Log Message:
  -----------
  [clang] implement common-sugar for adjusted member-pointers

This implements a missing case for an adjusted member-pointer
in getCommonSugaredType, when that was originally implemented
here: https://github.com/llvm/llvm-project/pull/130537

This missing case could otherwise cause a crash, so this is a
regression fix.

This should fix the crash reported here: https://github.com/llvm/llvm-project/pull/132401#issuecomment-2764331907

No release notes, since this regression and the underlying feature
were 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