[clang] [Clang][Sema] Do not perform type conversion before computing result type of `x ? : y` in C++ (PR #108837)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 12 05:07:48 PST 2025


================
@@ -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
----------------
zwuis wrote:

> Should run with BOTH constexpr interpreters.

Sorry I don't understand the meaning. Could you give an example?

https://github.com/llvm/llvm-project/pull/108837


More information about the cfe-commits mailing list