[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:43:18 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:
why not just to return nullptr?
https://github.com/llvm/llvm-project/pull/123470
More information about the llvm-commits
mailing list