[clang] nonblocking/nonallocating attributes: 2nd pass caller/callee analysis (PR #99656)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 4 11:56:11 PDT 2024


================
@@ -10950,6 +10950,51 @@ def warn_imp_cast_drops_unaligned : Warning<
   InGroup<DiagGroup<"unaligned-qualifier-implicit-cast">>;
 
 // Function effects
+def warn_func_effect_violation : Warning<
+  "'%0' %select{function|constructor|destructor|lambda|block|constructor's member initializer}1 "
----------------
erichkeane wrote:

either of those work, I think we're consistently inconsistent here which we go with.

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


More information about the cfe-commits mailing list