[all-commits] [llvm/llvm-project] 3e94fc: [Clang] allow restrict qualifier for array types w...

Oleksandr T. via All-commits all-commits at lists.llvm.org
Fri Feb 14 09:06:53 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e94fc0682952f6f996809f83e9e67f6d5e1989e
      https://github.com/llvm/llvm-project/commit/3e94fc0682952f6f996809f83e9e67f6d5e1989e
  Author: Oleksandr T. <oleksandr.tarasiuk at outlook.com>
  Date:   2025-02-14 (Fri, 14 Feb 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaType.cpp
    A clang/test/Sema/pre-c2x-restrict-qualifier.c
    A clang/test/Sema/restrict-qualifier.c
    M clang/test/Sema/types.c

  Log Message:
  -----------
  [Clang] allow restrict qualifier for array types with pointer types as element types (#120896)

Fixes #92847

---

> Types other than pointer types whose referenced type is an object type
and (possibly multi-dimensional) array types with such pointer types as
element type shall not be restrict-qualified.



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