[clang] [clang] Add CLANG_USE_EXPERIMENTAL_CONST_INTERP cmake option (PR #199396)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Wed May 27 19:02:24 PDT 2026


================
@@ -489,6 +489,9 @@ option(CLANG_ENABLE_STATIC_ANALYZER
 
 option(CLANG_ENABLE_PROTO_FUZZER "Build Clang protobuf fuzzer." OFF)
 
+option(CLANG_USE_EXPERIMENTAL_CONST_INTERP
+  "Enable the experimental new constant interpreter by default." OFF)
----------------
shafik wrote:

the "by default" bugs me, b/c well we are enabling it right, it feels redundant. 

Maybe "Enable the experimental new constant interpreter language flag by default" is better b/c we are being more explicit by what is actually being defaulted. 

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


More information about the cfe-commits mailing list