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

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 4 06:36:31 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>,
----------------
erichkeane wrote:

I don't think we want these to be separate.  There is a variety of 'Flags' somewhere that auto generates both.

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


More information about the cfe-commits mailing list