[all-commits] [llvm/llvm-project] e4d910: [Clang] Demote mixed enumeration arithmetic error ...

cor3ntin via All-commits all-commits at lists.llvm.org
Tue Mar 18 08:45:59 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4d910e80dc294ac3416ee0e2dfbef914d559b90
      https://github.com/llvm/llvm-project/commit/e4d910e80dc294ac3416ee0e2dfbef914d559b90
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/SemaCXX/cxx2c-enum-compare.cpp

  Log Message:
  -----------
  [Clang] Demote mixed enumeration arithmetic error to a warning (#131811)

In C++, defaulted to an error.

C++ removed these features but the removal negatively impacts users.

Fixes #92340



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