[all-commits] [llvm/llvm-project] af34ac: [Clang] [Sema] No longer diagnose type definitions...

Sirraide via All-commits all-commits at lists.llvm.org
Fri Mar 29 09:42:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af34ac4508adcb5b54e62947d7caf7dd40227b16
      https://github.com/llvm/llvm-project/commit/af34ac4508adcb5b54e62947d7caf7dd40227b16
  Author: Sirraide <aeternalmail at gmail.com>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/C/C2x/n2350.c
    M clang/test/C/drs/dr4xx.c

  Log Message:
  -----------
  [Clang] [Sema] No longer diagnose type definitions in `offsetof` in C23 mode (#84169)

This is now allowed in C23; continue to diagnose it in earlier language
modes as before, but now as a C23 extension rather than a GNU extension.

This fixes #83658.



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