[clang] Suppress noreturn warning if last statement in a function is a throw (PR #145166)
Nikolas Klauser via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 23 01:10:50 PDT 2025
philnik777 wrote:
I feel like this is a solution that can grow out of hand very easily. IMO the better solution would be to have `-Wmissing-noreturn` place a `[[noreturn]]` into the AST to avoid incorrect follow-up diagnostics.
https://github.com/llvm/llvm-project/pull/145166
More information about the cfe-commits
mailing list