From 40a93aec8c1ab45df3e130bf9cf80b293d48af01 Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Wed, 16 Jul 2014 16:50:34 +0000 Subject: [PATCH] Track clang r213171 The clang rewriter is now a core facility. llvm-svn: 213173 --- llvm/Makefile.config.in | 3 --- llvm/autoconf/configure.ac | 20 -------------------- 2 files changed, 23 deletions(-) diff --git a/llvm/Makefile.config.in b/llvm/Makefile.config.in index 1c36412..b98ebc6 100644 --- a/llvm/Makefile.config.in +++ b/llvm/Makefile.config.in @@ -259,9 +259,6 @@ CLANG_PLUGIN_SUPPORT = @CLANG_PLUGIN_SUPPORT@ # When ENABLE_CLANG_ARCMT is enabled, clang will have ARCMigrationTool. ENABLE_CLANG_ARCMT = @ENABLE_CLANG_ARCMT@ -# When ENABLE_CLANG_REWRITER is enabled, clang will have Rewriter. -ENABLE_CLANG_REWRITER = @ENABLE_CLANG_REWRITER@ - # When ENABLE_CLANG_STATIC_ANALYZER is enabled, clang will have StaticAnalyzer. ENABLE_CLANG_STATIC_ANALYZER = @ENABLE_CLANG_STATIC_ANALYZER@ diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac index a1c2ac5..612d670 100644 --- a/llvm/autoconf/configure.ac +++ b/llvm/autoconf/configure.ac @@ -675,26 +675,6 @@ case "$enableval" in *) AC_MSG_ERROR([Invalid setting for --enable-clang-static-analyzer. Use "yes" or "no"]) ;; esac -dnl --enable-clang-rewriter: check whether to enable clang rewriter -AC_ARG_ENABLE(clang-rewriter, - AS_HELP_STRING([--enable-clang-rewriter], - [Enable building of clang rewriter (default is YES)]),, - enableval="yes") -case "$enableval" in - yes) AC_SUBST(ENABLE_CLANG_REWRITER,[1]) ;; - no) - if test ${clang_arcmt} != "no" ; then - AC_MSG_ERROR([Cannot enable clang ARC Migration Tool while disabling rewriter.]) - fi - if test ${clang_static_analyzer} != "no" ; then - AC_MSG_ERROR([Cannot enable clang static analyzer while disabling rewriter.]) - fi - AC_SUBST(ENABLE_CLANG_REWRITER,[0]) - ;; - default) AC_SUBST(ENABLE_CLANG_REWRITER,[1]);; - *) AC_MSG_ERROR([Invalid setting for --enable-clang-rewriter. Use "yes" or "no"]) ;; -esac - dnl --enable-optimized : check whether they want to do an optimized build: AC_ARG_ENABLE(optimized, AS_HELP_STRING( --enable-optimized,[Compile with optimizations enabled (default is NO)]),,enableval=$optimize) -- 2.7.4