[clang] [LifetimeSafety] Add support for iterator arithmetic (PR #195442)

Utkarsh Saxena via cfe-commits cfe-commits at lists.llvm.org
Mon May 4 00:58:33 PDT 2026


================
@@ -61,6 +61,8 @@ bool shouldTrackImplicitObjectArg(const CXXMethodDecl *Callee,
 // std::any_cast.
 bool shouldTrackFirstArgument(const FunctionDecl *FD);
 
+bool shouldTrackSecondArgument(const FunctionDecl *FD);
----------------
usx95 wrote:

This needs to be documented as its other counterparts.

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


More information about the cfe-commits mailing list