[clang] [LifetimeSafety] Fix crash on ternary operator when one of the expressions is `throw` (PR #190345)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 6 12:23:55 PDT 2026
NeKon69 wrote:
> Is this the part which is not working for you ?
What I was struggling with was something like what `isInevitablySinking` does (I had no idea that API existed at the time). The CFGBlock for the true / false branch / ternary operator itself would sometimes not point to the exact expressions, and because of that I had to go through each successor block from that block, etc. Since I am not really experienced with the codebase, I couldn't figure out how to do that correctly.
https://github.com/llvm/llvm-project/pull/190345
More information about the cfe-commits
mailing list