[clang] [LifetimeSafety] Add multi-block support to buildOriginFlowChain (PR #204592)

Yuan Suo via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 25 01:09:16 PDT 2026


suoyuan666 wrote:

> This looks pretty good to me! Though I am wondering whether we actually need all this debug stuff in `buildOriginFlowChain`.

Thanks! I originally added these debug statements to help explain my previous design. They also make it easier to correlate the output of `FactManager.dump()` with `OriginID` found by `buildOriginFlowChain` and to understand how they relate to the later diagnostic output.

After simplifying the search logic, however, they are no longer necessary for explaining how this function works...

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


More information about the cfe-commits mailing list