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

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 10:45:40 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
----------------
vitalybuka wrote:

Probably better to land all fix-ups in a separate PR before actual feature, so we don't revert/related unnecessary stuff.



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


More information about the llvm-commits mailing list