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

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Tue Mar 25 09:02:56 PDT 2025


  Branch: refs/heads/users/mizvekov/GH97005
  Home:   https://github.com/llvm/llvm-project
  Commit: c60a98049cf62956917f5cf8ab8a846cb3c2aada
      https://github.com/llvm/llvm-project/commit/c60a98049cf62956917f5cf8ab8a846cb3c2aada
  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

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