[all-commits] [llvm/llvm-project] c9074c: Reapply "[Clang] Fix a number of issues involving ...

Ambrose Leeb via All-commits all-commits at lists.llvm.org
Fri Sep 18 07:13:47 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9074cfd0d956c0d3433eb2aea4adc899edc9887
      https://github.com/llvm/llvm-project/commit/c9074cfd0d956c0d3433eb2aea4adc899edc9887
  Author: Ambrose Leeb <aleeb at nvidia.com>
  Date:   2026-09-18 (Fri, 18 Sep 2026)

  Changed paths:
    M clang/include/clang/AST/DeclBase.h
    M clang/include/clang/AST/DeclCXX.h
    M clang/lib/AST/Decl.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaCoroutine.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/Parser/cxx2c-expansion-statements.cpp
    M clang/test/SemaCXX/cxx2c-expansion-stmts-control-flow.cpp
    A clang/test/SemaCXX/cxx2c-expansion-stmts-warnings.cpp
    M clang/test/SemaCXX/cxx2c-expansion-stmts.cpp
    M clang/test/SemaCXX/expansion-statements-local-extern-decls.cpp
    A clang/test/SemaCXX/expansion-statements-local-extern-if-constexpr.cpp

  Log Message:
  -----------
  Reapply "[Clang] Fix a number of issues involving expansion statements" (#220375) (#223005)

This reverts 7c44c505cd7688a8994779f1751e0f9b4b95ab4c and relands
#217110.

There were two tests that needed updating: one because a warning that
had previously been erroneously suppressed (because we thought we
weren’t in a function) now works properly, and another because it
crashes due to an unrelated bug. I’ve filed #223003 for the latter and
moved the crash into a separate XFAIL test so it can be reenabled when
the bug is fixed.

The plan was to backport this to the 23 release branch, so still no
release note.



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