From: Alp Toker Date: Mon, 14 Jul 2014 23:30:31 +0000 (+0000) Subject: Revert "Revert "Move clang feature flags settings out of LLVM core and into cfe"" X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6be46b8ae56b7c20db9d46496940b678eef22771;p=platform%2Fupstream%2Fllvm.git Revert "Revert "Move clang feature flags settings out of LLVM core and into cfe"" It turns out this commit was fine. The problem was in the legacy build system (fixed r213010). This reverts commit r213005. llvm-svn: 213015 --- diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake index 0276bf6..81efae6 100644 --- a/llvm/cmake/modules/AddLLVM.cmake +++ b/llvm/cmake/modules/AddLLVM.cmake @@ -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()