Revert "Enable -Wdeprecated in the cmake build now that LLVM (& Clang, Polly, and...
[oota-llvm.git] / cmake / modules / HandleLLVMOptions.cmake
index 046187aa59d39460939f77b2b59dccaa3b663dea..e0bea6470fb22f56eec2a17881adf343e29187ca 100644 (file)
@@ -364,7 +364,7 @@ if( MSVC )
 
 elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE )
   if (LLVM_ENABLE_WARNINGS)
-    append("-Wall -W -Wno-unused-parameter -Wwrite-strings -Wdeprecated" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
+    append("-Wall -W -Wno-unused-parameter -Wwrite-strings" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
     append("-Wcast-qual" CMAKE_CXX_FLAGS)
 
     # Turn off missing field initializer warnings for gcc to avoid noise from