Remove CheckBuiltinMacros script, obsoleted since we support -dM now.

llvm-svn: 68990
This commit is contained in:
Daniel Dunbar 2009-04-13 21:26:41 +00:00
parent 115b8dd72b
commit c0a4ea0c02
1 changed files with 0 additions and 23 deletions

View File

@ -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