[clang] [LifetimeSafety] Fix crash on ternary operator when one of the expressions is `throw` (PR #190345)

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 5 01:11:53 PDT 2026


Xazax-hun wrote:

Oh, never mind. My bad, I think the shape of the CFG with the throw should be fine! So relying on `hasNoReturnElement` for the noreturn case should solve the problem. 

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


More information about the cfe-commits mailing list