[all-commits] [llvm/llvm-project] 27cf23: [clang] ASTContex: fix getCommonSugaredType for ar...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Sat Mar 22 11:09:41 PDT 2025


  Branch: refs/heads/users/mizvekov/GH97005
  Home:   https://github.com/llvm/llvm-project
  Commit: 27cf231f8497cc483c44d5e5ada05af9ae48e6ab
      https://github.com/llvm/llvm-project/commit/27cf231f8497cc483c44d5e5ada05af9ae48e6ab
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-03-22 (Sat, 22 Mar 2025)

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

  Log Message:
  -----------
  [clang] ASTContex: fix getCommonSugaredType for array types

This corrects the behaviour for getCommonSugaredType with regards
to array top level qualifiers: remove differing top level qualifiers, as
they must be redundant with element qualifiers.

Fixes https://github.com/llvm/llvm-project/issues/97005



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