[clang] [Clang] Demote mixed enumeration arithmetic error to a warning (PR #131811)

2025-04-05 Thread Aaron Ballman via cfe-commits
@@ -1,9 +1,10 @@ -// RUN: %clang_cc1 %s -std=c++2c -fsyntax-only -verify -triple %itanium_abi_triple +// RUN: %clang_cc1 %s -std=c++2c -fsyntax-only -verify=both,expected +// RUN: %clang_cc1 %s -std=c++2c -fsyntax-only -verify=both,nowarn -Wno-enum-enum-conversion --

[clang] [Clang] Demote mixed enumeration arithmetic error to a warning (PR #131811)

2025-03-18 Thread via cfe-commits
llvmbot wrote: Failed to cherry-pick: e4d910e https://github.com/llvm/llvm-project/actions/runs/13927528748 Please manually backport the fix and push it to your github fork. Once this is done, please create a [pull request](https://github.com/llvm/llvm-project/compare) https://github.com/l

[clang] [Clang] Demote mixed enumeration arithmetic error to a warning (PR #131811)

2025-03-18 Thread via cfe-commits
cor3ntin wrote: /cherry-pick e4d910e https://github.com/llvm/llvm-project/pull/131811 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Demote mixed enumeration arithmetic error to a warning (PR #131811)

2025-03-18 Thread via cfe-commits
https://github.com/cor3ntin milestoned https://github.com/llvm/llvm-project/pull/131811 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Demote mixed enumeration arithmetic error to a warning (PR #131811)

2025-03-18 Thread via cfe-commits
https://github.com/cor3ntin demilestoned https://github.com/llvm/llvm-project/pull/131811 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Demote mixed enumeration arithmetic error to a warning (PR #131811)

2025-03-18 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman approved this pull request. LGTM, but be sure to add a release note on the backport so users know about the change in behavior. https://github.com/llvm/llvm-project/pull/131811 ___ cfe-commits mailing list cfe-commits@l

[clang] [Clang] Demote mixed enumeration arithmetic error to a warning (PR #131811)

2025-03-18 Thread Aaron Ballman via cfe-commits
@@ -1,9 +1,10 @@ -// RUN: %clang_cc1 %s -std=c++2c -fsyntax-only -verify -triple %itanium_abi_triple +// RUN: %clang_cc1 %s -std=c++2c -fsyntax-only -verify=both,expected +// RUN: %clang_cc1 %s -std=c++2c -fsyntax-only -verify=both,nowarn -Wno-enum-enum-conversion --

[clang] [Clang] Demote mixed enumeration arithmetic error to a warning (PR #131811)

2025-03-18 Thread via cfe-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/131811 >From 72a2a45c52508510c9d43152fa5f2e533222dce8 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Tue, 18 Mar 2025 15:35:43 +0100 Subject: [PATCH 1/2] [Clang] Demote mixed enumeration arithmertic error to a w

[clang] [Clang] Demote mixed enumeration arithmetic error to a warning (PR #131811)

2025-03-18 Thread via cfe-commits
@@ -1,9 +1,10 @@ -// RUN: %clang_cc1 %s -std=c++2c -fsyntax-only -verify -triple %itanium_abi_triple +// RUN: %clang_cc1 %s -std=c++2c -fsyntax-only -verify=both,expected +// RUN: %clang_cc1 %s -std=c++2c -fsyntax-only -verify=both,nowarn -Wno-enum-enum-conversion --

[clang] [Clang] Demote mixed enumeration arithmetic error to a warning (PR #131811)

2025-03-18 Thread Aaron Ballman via cfe-commits
@@ -1,9 +1,10 @@ -// RUN: %clang_cc1 %s -std=c++2c -fsyntax-only -verify -triple %itanium_abi_triple +// RUN: %clang_cc1 %s -std=c++2c -fsyntax-only -verify=both,expected +// RUN: %clang_cc1 %s -std=c++2c -fsyntax-only -verify=both,nowarn -Wno-enum-enum-conversion --