[clang] [LifetimeSafety] Add suggestion and inference for implicit this (PR #176703)
Kashika Akhouri via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 23 09:36:44 PST 2026
================
@@ -172,6 +183,7 @@ class OriginManager {
llvm::BumpPtrAllocator ListAllocator;
llvm::DenseMap<const clang::ValueDecl *, OriginList *> DeclToList;
llvm::DenseMap<const clang::Expr *, OriginList *> ExprToList;
+ const Decl *CurrentDecl;
----------------
kashika0112 wrote:
Done, have removed CurrentDecl with an optional ThisOrigins.
https://github.com/llvm/llvm-project/pull/176703
More information about the cfe-commits
mailing list