[all-commits] [llvm/llvm-project] 50f0b3: [Clang] [Sema] Allow static assertions in the firs...

Sirraide via All-commits all-commits at lists.llvm.org
Fri Apr 4 11:54:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50f0b30cffa72129a3179bd9ac83692114f6b19f
      https://github.com/llvm/llvm-project/commit/50f0b30cffa72129a3179bd9ac83692114f6b19f
  Author: Sirraide <aeternalmail at gmail.com>
  Date:   2025-04-04 (Fri, 04 Apr 2025)

  Changed paths:
    M clang/lib/Parse/ParseStmt.cpp
    M clang/test/C/C11/n1330.c
    M clang/test/Sema/for.c
    A clang/test/SemaCXX/for-static-assert.cpp

  Log Message:
  -----------
  [Clang] [Sema] Allow static assertions in the first part of a `for` loop in C (#134415)

No release note for this one because the one added by #129737 already
mentions ‘non-variable declarations’.

Fixes #56471.



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