[clang] [LifetimeSafety] Implement multi-level origins (PR #168344)

Utkarsh Saxena via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 16 22:37:59 PST 2025


================
@@ -186,13 +286,32 @@ void FactsGenerator::VisitConditionalOperator(const ConditionalOperator *CO) {
 void FactsGenerator::VisitCXXOperatorCallExpr(const CXXOperatorCallExpr *OCE) {
   // Assignment operators have special "kill-then-propagate" semantics
----------------
usx95 wrote:

We are doing this now behind `hasOrigins`. Shifted the comment inside the `if`

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


More information about the cfe-commits mailing list