From: Alp Toker Date: Mon, 14 Jul 2014 22:19:04 +0000 (+0000) Subject: Move clang feature flags settings out of LLVM core and into cfe X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=18c3a471185a2d6eef1519cb498ac7ab0d83838e;p=oota-llvm.git Move clang feature flags settings out of LLVM core and into cfe clang r212997 incorporated these settings into its own build system. They no longer need to be set from LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212998 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index 0276bf6ffe4..81efae62e79 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/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()