[clang] Thread Safety Analysis: Treat blocks constructing noreturn temporaries as non-returning (PR #215691)
Aaron Puchert via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 15 14:16:38 PST 2026
https://github.com/aaronpuchert commented:
It's a weird special case, but I guess it's fine to support this. I'm just wary that the code will get unwieldy from all those rare special cases.
Did you also consider whether we couldn't annotate these blocks as non-returning right in the CFG, so that other analyses would also benefit from improved handling of this special case?
https://github.com/llvm/llvm-project/pull/215691
More information about the cfe-commits
mailing list