[libc-commits] [libc] [libc] Add `-Wsign-conversion` & un-reverts `-Wconversion` (PR #129811)

via libc-commits libc-commits at lists.llvm.org
Sat Mar 8 21:09:25 PST 2025


================
@@ -36,8 +36,8 @@ function(_get_common_test_compile_options output_var c_test flags)
     if(NOT LIBC_WNO_ERROR)
       # list(APPEND compile_options "-Werror")
     endif()
-    # list(APPEND compile_options "-Wconversion")
-    # list(APPEND compile_options "-Wno-sign-conversion")
+    list(APPEND compile_options "-Wconversion")
+    list(APPEND compile_options "-Wsign-conversion")
----------------
lntue wrote:

You can see them in the logs of some of the premerge bots, such as:
https://buildkite.com/llvm-project/github-pull-requests/builds/154789#0195738e-55d8-4974-b5b7-1c857402d13d
https://github.com/llvm/llvm-project/actions/runs/13732988495/job/38413066727?pr=129811


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


More information about the libc-commits mailing list