summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rwxr-xr-xclang/utils/CheckBuiltinMacros.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/clang/utils/CheckBuiltinMacros.sh b/clang/utils/CheckBuiltinMacros.sh
deleted file mode 100755
index 6a8573c0c14..00000000000
--- a/clang/utils/CheckBuiltinMacros.sh
+++ /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
-
-
OpenPOWER on IntegriCloud