[clang] Suppress noreturn warning if last statement in a function is a throw (PR #145166)

Samarth Narang via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 22 06:16:21 PDT 2025


snarang181 wrote:


> Now, getting back to the issue # 1: if you have a trivial fix for this, please go ahead and implement it (assuming the decision on # 2 is to leave this feature in Clang). If the fix is not obvious, I'd suggest to revert the commit and re-send it for review together with the fix.

@alexfh, I have https://github.com/llvm/llvm-project/pull/150003 up as a patch for the problem you are seeing. 


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


More information about the cfe-commits mailing list