[llvm-branch-commits] [clang] [LifetimeSafety] Add implicit tracking for STL functions (PR #170005)

Yitzhak Mandelbaum via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Dec 8 09:47:53 PST 2025


================
@@ -71,6 +71,88 @@ bool implicitObjectParamIsLifetimeBound(const FunctionDecl *FD) {
   return isNormalAssignmentOperator(FD);
 }
 
+// Decl::isInStdNamespace will return false for iterators in some STL
----------------
ymand wrote:

nit: maybe preface with "This function is needed because "?

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


More information about the llvm-branch-commits mailing list