[clang] [Clang] Do not perform integral promotion if operands of expression `x ? : y` have the same type (PR #108837)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 16 11:22:52 PDT 2024
================
@@ -0,0 +1,19 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s -fexperimental-new-constant-interpreter
----------------
erichkeane wrote:
Should run with BOTH constexpr interpreters.
https://github.com/llvm/llvm-project/pull/108837
More information about the cfe-commits
mailing list