[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
Mon Jul 21 10:19:05 PDT 2025
snarang181 wrote:
> @snarang181 how soon will you be able to address this? This diagnostic keeps being broken at HEAD, and we need to decide whether this change should be reverted until you have time to get back to this. I'll prepare a revert for now and will proceed with it, if I don't get a reply soon.
@alexfh, I can start looking at this now. Is the proposed plan of action marking the functions ``[[noreturn]]` ? As per https://github.com/llvm/llvm-project/pull/145166#issuecomment-3004769089, marking the functions ``[[noreturn]]` was discouraged.
https://github.com/llvm/llvm-project/pull/145166
More information about the cfe-commits
mailing list