[clang] [clang] Respect `CLANG_USE_EXPERIMENTAL_CONST_INTERP` (PR #200716)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 7 01:45:44 PDT 2026


Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>,
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/200716 at github.com>


tbaederr wrote:

Pushed a more complete version with support for `-fno-experimental-new-constant-interpreter`. The result now is:



| cmake  | cmdline | Result |
| ------------- | ------------- |-----|
|0 | 0 | 0 |
|0 | 1 | 1 |
|0 | - | 0 |
|1 | 0 | 0 |
|1 | 1 | 1 |
|1 | - | 1 |

In other words, the cmake settings controls the default and can be overridden by the command line.

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


More information about the cfe-commits mailing list