[clang] [compiler-rt] [Clang] Make `-Wreturn-type` default to an error in all language modes (PR #123470)

Sam James via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 05:03:53 PST 2025


thesamesam wrote:

> The compromise is to make it a warning which defaults to an error so users who hit the false positives have an escape hatch.

OK, that's fair enough, I think. I can see it being controversial but I think it's a defensible choice (that I agree with).

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


More information about the llvm-commits mailing list