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

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Tue Mar 25 11:14:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dfb6c761f75581f4230d1e9ec6a569686f0bf11c
      https://github.com/llvm/llvm-project/commit/dfb6c761f75581f4230d1e9ec6a569686f0bf11c
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-03-25 (Tue, 25 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 (#132559)

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