[clang] [LifetimeSafety] Update user documentation (PR #196790)

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Mon May 11 02:54:39 PDT 2026


================
@@ -265,8 +266,75 @@ it refers to has gone out of scope.
              p = &i; // OK!
            }
            (void)*p;
+          }
+
+The analysis also covers pointer arithmetic. If the result of pointer
----------------
Xazax-hun wrote:

I am not sure if we need to call out supporting pointer arithmetic.  I'd drop this section. 

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


More information about the cfe-commits mailing list