[all-commits] [llvm/llvm-project] be427d: [Clang][Parser] Accept P2741R3 (static_assert with...

Mital Ashok via All-commits all-commits at lists.llvm.org
Thu Sep 5 08:38:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be427dfb9ea6689947253d737708dc3645e179dc
      https://github.com/llvm/llvm-project/commit/be427dfb9ea6689947253d737708dc3645e179dc
  Author: Mital Ashok <mital at mitalashok.co.uk>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/lib/Parse/ParseDeclCXX.cpp
    M clang/test/CXX/drs/cwg27xx.cpp
    M clang/test/Lexer/cxx-features.cpp
    M clang/test/Parser/cxx11-user-defined-literals.cpp
    M clang/test/Sema/static-assert.c
    A clang/test/SemaCXX/static-assert-ext.cpp

  Log Message:
  -----------
  [Clang][Parser] Accept P2741R3 (static_assert with user-generated message) in C++11 as an extension (#102044)

Added a new `-Wpre-c++26-compat` warning for when this feature is used
in C++26 and a `-Wc++26-extensions` warning for when this is used in
C++11 through C++23.

---------

Co-authored-by: cor3ntin <corentinjabot at gmail.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