[clang] Add warning for blocks capturing {'this', raw pointers, references} (PR #144388)
John McCall via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 16 17:59:14 PDT 2025
================
@@ -16149,7 +16149,7 @@ class ExitFunctionBodyRAII {
bool IsLambda = false;
};
-static void diagnoseImplicitlyRetainedSelf(Sema &S) {
+static void diagnoseBlockCaptures(Sema &S) {
----------------
rjmccall wrote:
Maybe `diagnoseEscapingBlockCaptures`?
https://github.com/llvm/llvm-project/pull/144388
More information about the cfe-commits
mailing list