[all-commits] [llvm/llvm-project] d9c7c7: Revert "Ignore trailing NullStmts in StmtExprs for...

KaiWeng via All-commits all-commits at lists.llvm.org
Fri Nov 7 06:31:15 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9c7c762695e8b73d71dbc8dbedcc033030e25eb
      https://github.com/llvm/llvm-project/commit/d9c7c762695e8b73d71dbc8dbedcc033030e25eb
  Author: KaiWeng <kaiweng at andestech.com>
  Date:   2025-11-07 (Fri, 07 Nov 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/Stmt.h
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/lib/AST/ComputeDependence.cpp
    M clang/lib/CodeGen/CGStmt.cpp
    M clang/lib/Parse/ParseStmt.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/test/AST/ast-dump-stmt.c
    M clang/test/CodeGen/exprs.c
    M clang/test/Sema/statements.c
    M clang/test/SemaCXX/statements.cpp

  Log Message:
  -----------
  Revert "Ignore trailing NullStmts in StmtExprs for GCC compatibility." (#166036)

This reverts commit b1e511bf5a4c702ace445848b30070ac2e021241.

https://github.com/llvm/llvm-project/issues/160243
Reverting because the GCC C front end is incorrect.

---------

Co-authored-by: Jim Lin <jim at andestech.com>



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