[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 11:04:25 PST 2025


================
@@ -1,4 +1,4 @@
-// RUN: %clang_hwasan %s -o %t && %env_hwasan_opts=random_tags=1 %run %t
+// RUN: %clang_hwasan -Wno-error=return-type %s -o %t && %env_hwasan_opts=random_tags=1 %run %t
----------------
vitalybuka wrote:

It should be fine to change HWASAN tests, it does nothing specific to returning value.


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


More information about the llvm-commits mailing list