[llvm-branch-commits] [clang] [LifetimeSafety] Add origin tracking for pointer dereference (PR #170006)

Utkarsh Saxena via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Dec 8 23:50:54 PST 2025


usx95 wrote:

> Do we want to have some built-in handling for overloaded operators as well? It could be a follow-up PR though.

Added some more tests for overloaded operators. I think they used to work before through CallExpr handling.

> I suspect that this PR might not address the case when the dereference is the LHS on an assignment (like `*p = a`).

Right. This case is added in the tests as a TODO.

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


More information about the llvm-branch-commits mailing list