[all-commits] [llvm/llvm-project] d1bcac: [Clang] Bump `__cpp_constexpr` to `202002L` in C++...

A. Jiang via All-commits all-commits at lists.llvm.org
Wed Mar 5 02:25:28 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1bcac06c7c11699e7931bb7315a1bb9b9784179
      https://github.com/llvm/llvm-project/commit/d1bcac06c7c11699e7931bb7315a1bb9b9784179
  Author: A. Jiang <de34 at live.cn>
  Date:   2025-03-05 (Wed, 05 Mar 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/test/Lexer/cxx-features.cpp

  Log Message:
  -----------
  [Clang] Bump `__cpp_constexpr` to `202002L` in C++20 mode (#129814)

Per P2493R0 and SD6, `__cpp_constexpr` of value `202002L` indicates that
P1330R0 "Changing the active member of a union inside constexpr" is
implemented, which is true for Clang 9 and later.



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