[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:45 PDT 2024


================
@@ -961,6 +961,10 @@ def Wdeprecated : Flag<["-"], "Wdeprecated">, Group<W_Group>,
   HelpText<"Enable warnings for deprecated constructs and define __DEPRECATED">;
 def Wno_deprecated : Flag<["-"], "Wno-deprecated">, Group<W_Group>,
   Visibility<[ClangOption, CC1Option]>;
+def Winvalid_constexpr : Flag<["-"], "Winvalid-constexpr">, Group<W_Group>,
----------------
AaronBallman wrote:

This was a bit more involved than you might expect, but it's done now and I think it's in a better state as a result.

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


More information about the cfe-commits mailing list