[cfe-commits] r68990 - /cfe/trunk/utils/CheckBuiltinMacros.sh
Daniel Dunbar
daniel at zuster.org
Mon Apr 13 14:26:42 PDT 2009
Author: ddunbar
Date: Mon Apr 13 16:26:41 2009
New Revision: 68990
URL: http://llvm.org/viewvc/llvm-project?rev=68990&view=rev
Log:
Remove CheckBuiltinMacros script, obsoleted since we support -dM now.
Removed:
cfe/trunk/utils/CheckBuiltinMacros.sh
Removed: cfe/trunk/utils/CheckBuiltinMacros.sh
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/CheckBuiltinMacros.sh?rev=68989&view=auto
==============================================================================
--- cfe/trunk/utils/CheckBuiltinMacros.sh (original)
+++ cfe/trunk/utils/CheckBuiltinMacros.sh (removed)
@@ -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
-
-
More information about the cfe-commits
mailing list