mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
Track clang r213171
The clang rewriter is now a core facility. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213173 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4722b28a3e
commit
49feabcce3
@ -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@
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user