[libc-commits] [PATCH] D156630: [libc] Compile with -Wconversion -Wno-sign-conversion

Roland McGrath via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Aug 9 12:46:55 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG5207451dd03e: [libc] Compile with -Wconversion -Wno-sign-conversion (authored by mcgrathr).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156630/new/

https://reviews.llvm.org/D156630

Files:
  libc/cmake/modules/LLVMLibCObjectRules.cmake


Index: libc/cmake/modules/LLVMLibCObjectRules.cmake
===================================================================
--- libc/cmake/modules/LLVMLibCObjectRules.cmake
+++ libc/cmake/modules/LLVMLibCObjectRules.cmake
@@ -30,6 +30,8 @@
     list(APPEND compile_options "-fno-rtti")
     list(APPEND compile_options "-Wall")
     list(APPEND compile_options "-Wextra")
+    list(APPEND compile_options "-Wconversion")
+    list(APPEND compile_options "-Wno-sign-conversion")
     list(APPEND compile_options "-Wimplicit-fallthrough")
     list(APPEND compile_options "-Wwrite-strings")
     list(APPEND compile_options "-Wextra-semi")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156630.548749.patch
Type: text/x-patch
Size: 634 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230809/e6828042/attachment.bin>


More information about the libc-commits mailing list