2 # This is useful because it prints out all of the source files. Useful for
5 TOPDIR=`pwd | sed -e 's#(.*/llvm).*#$1#'`
6 if test -d "$TOPDIR" ; then
8 find docs include lib tools utils projects -type f \
9 \( -path '*/doxygen/*' -o -path '*/Burg/*' \) -prune -o \
16 \! -name 'Sparc.burm.c' \
17 \! -name 'llvmAsmParser.cpp' \
18 \! -name 'llvmAsmParser.h' \
19 \! -name 'FileParser.cpp' \
20 \! -name 'FileParser.h' \
21 -exec egrep -H -n "$PATTERN" {} \;
23 echo "Can't find LLVM top directory in $TOPDIR"