Revert "Revert "Move clang feature flags settings out of LLVM core and into cfe""
authorAlp Toker <alp@nuanti.com>
Mon, 14 Jul 2014 23:30:31 +0000 (23:30 +0000)
committerAlp Toker <alp@nuanti.com>
Mon, 14 Jul 2014 23:30:31 +0000 (23:30 +0000)
It turns out this commit was fine. The problem was in the legacy build system (fixed r213010).

This reverts commit r213005.

llvm-svn: 213015

llvm/cmake/modules/AddLLVM.cmake

index 0276bf6..81efae6 100644 (file)
@@ -632,22 +632,6 @@ function(configure_lit_site_cfg input output)
   set(HOST_OS ${CMAKE_SYSTEM_NAME})
   set(HOST_ARCH ${CMAKE_SYSTEM_PROCESSOR})
 
-  if (CLANG_ENABLE_ARCMT)
-    set(ENABLE_CLANG_ARCMT "1")
-  else()
-    set(ENABLE_CLANG_ARCMT "0")
-  endif()
-  if (CLANG_ENABLE_REWRITER)
-    set(ENABLE_CLANG_REWRITER "1")
-  else()
-    set(ENABLE_CLANG_REWRITER "0")
-  endif()
-  if (CLANG_ENABLE_STATIC_ANALYZER)
-    set(ENABLE_CLANG_STATIC_ANALYZER "1")
-  else()
-    set(ENABLE_CLANG_STATIC_ANALYZER "0")
-  endif()
-
   configure_file(${input} ${output} @ONLY)
 endfunction()