[clang] Disable constexpr function body checking in more situations (PR #94347)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 4 07:49:20 PDT 2024


================
@@ -505,6 +505,9 @@ COMPATIBLE_LANGOPT(IncrementalExtensions, 1, 0, " True if we want to process sta
 
 BENIGN_LANGOPT(CheckNew, 1, 0, "Do not assume C++ operator new may not return NULL")
 
+BENIGN_LANGOPT(CheckConstexprFunctionBodies, 1, 1,
+               "True if we want to emit a diagnostics for a constexpr function "
----------------
AaronBallman wrote:

This is done now.

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


More information about the cfe-commits mailing list