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

via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 10:49:46 PST 2025


================
@@ -2,10 +2,10 @@
 // UNSUPPORTED: target=thumb{{.*}}
 // UNSUPPORTED: android
 
-// RUN: %clangxx -fsanitize=return %gmlt -O2 -fno-omit-frame-pointer -fasynchronous-unwind-tables %s -o %t
+// RUN: %clangxx -Wno-error=return-type -fsanitize=return %gmlt -O2 -fno-omit-frame-pointer -fasynchronous-unwind-tables %s -o %t
----------------
Sirraide wrote:

Yup, at this point it seems like it’ll be better to split this into another separate pr

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


More information about the llvm-commits mailing list