]> granicus.if.org Git - clang/commitdiff
Remove CheckBuiltinMacros script, obsoleted since we support -dM now.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 13 Apr 2009 21:26:41 +0000 (21:26 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 13 Apr 2009 21:26:41 +0000 (21:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68990 91177308-0d34-0410-b5e6-96231b3b80d8

utils/CheckBuiltinMacros.sh [deleted file]

diff --git a/utils/CheckBuiltinMacros.sh b/utils/CheckBuiltinMacros.sh
deleted file mode 100755 (executable)
index 6a8573c..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-set -ex
-
-if [ -z "$CC" ]; then
-    CC="gcc"
-fi
-
-SRCLANG=c
-MACROLIST=macro-list.txt
-CCDEFS=cc-definitions.txt
-CLANGDEFS=clang-definitions.txt
-
-# Gather list of macros as "NAME" = NAME.
-$CC -dM -E -x $SRCLANG /dev/null -o - | \
-grep "#define" | sort -f | sed -e "s/#define \([^ ]*\) .*/\"\1\" = \1/" > $MACROLIST
-
-$CC -E -x $SRCLANG $MACROLIST > $CCDEFS
-
-clang -E -x $SRCLANG $MACROLIST > $CLANGDEFS
-
-diff $CCDEFS $CLANGDEFS
-
-