[all-commits] [llvm/llvm-project] 26f19e: [clang] propagate constexpr/constinit to binding V...

Matthias Wippich via All-commits all-commits at lists.llvm.org
Tue May 26 08:51:41 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26f19eed998d513c1200f46733db14d73e2b3a71
      https://github.com/llvm/llvm-project/commit/26f19eed998d513c1200f46733db14d73e2b3a71
  Author: Matthias Wippich <mfwippich at gmail.com>
  Date:   2026-05-26 (Tue, 26 May 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/test/SemaCXX/cxx2c-decomposition.cpp

  Log Message:
  -----------
  [clang] propagate constexpr/constinit to binding VarDecl (#195860)

This patch implements one of the missing parts of P2686. This is
required to make the test case from
[cwg3135](https://cplusplus.github.io/CWG/issues/3135.html) (and
likewise the examples of [P1789](https://wg21.link/p1789) work).



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