[clang] [LifetimeSafety] Add suggestion and inference for implicit this (PR #176703)

Kashika Akhouri via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 22 23:04:41 PST 2026


================
@@ -60,6 +60,10 @@ class LifetimeSafetyReporter {
   virtual void suggestAnnotation(SuggestionScope Scope,
                                  const ParmVarDecl *ParmToAnnotate,
                                  const Expr *EscapeExpr) {}
+
+  // Suggests lifetime bound annotations for implicit this
----------------
kashika0112 wrote:

Done

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


More information about the cfe-commits mailing list