[clang] [analyzer] Do not attempt transition from sink node (PR #218970)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 27 04:46:49 PDT 2026


================

----------------
steakhal wrote:

I've just noticed this now that we have this `State == Pred->getState()` in the first `if` condition. Shouldn't we move the `if (!P) P = Pred;` part to the top to make that sound? What if `P` and `Pred` are different?

-- This doesn't have anything to do with your PR, but still related to some degree.

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


More information about the cfe-commits mailing list