[PATCH] D13314: Enable -Wdeprecated in the cmake build now that LLVM (& Clang, Polly, and LLD) are -Wdeprecated clean

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 16:37:56 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL248963: Enable -Wdeprecated in the cmake build now that LLVM (& Clang, Polly, and… (authored by dblaikie).

Changed prior to commit:
  http://reviews.llvm.org/D13314?vs=36156&id=36162#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D13314

Files:
  llvm/trunk/cmake/modules/HandleLLVMOptions.cmake

Index: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
===================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
@@ -364,7 +364,7 @@
 
 elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE )
   if (LLVM_ENABLE_WARNINGS)
-    append("-Wall -W -Wno-unused-parameter -Wwrite-strings" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
+    append("-Wall -W -Wno-unused-parameter -Wwrite-strings -Wdeprecated" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
     append("-Wcast-qual" CMAKE_CXX_FLAGS)
 
     # Turn off missing field initializer warnings for gcc to avoid noise from


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13314.36162.patch
Type: text/x-patch
Size: 645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150930/ac48410a/attachment.bin>


More information about the llvm-commits mailing list