[llvm-branch-commits] [clang] [LifetimeSafety] Support container interior paths and invalidations (PR #207523)

Gábor Horváth via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Aug 5 04:05:33 PDT 2026


================
@@ -1164,7 +1180,7 @@ void FactsGenerator::handleFunctionCall(const Expr *Call,
             KillSrc));
         KillSrc = false;
       }
-    } else if (shouldTrackPointerImplicitObjectArg(I)) {
+    } else if (I == 0 && shouldTrackPointerImplicitObjectArg(I)) {
----------------
Xazax-hun wrote:

Why do we need the `I == 0` part?

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


More information about the llvm-branch-commits mailing list