Chris Lattner | 2f7c963 | 2001-06-06 20:29:01 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | # This is useful because it prints out all of the source files. Useful for | ||||
3 | # greps. | ||||
Reid Spencer | 0894182 | 2004-09-20 07:22:23 +0000 | [diff] [blame^] | 4 | TOPDIR=`pwd | sed -e 's#\(.*/llvm\).*#\1#'` |
5 | if test -d "$TOPDIR" ; then | ||||
6 | cd $TOPDIR | ||||
7 | ./utils/llvmdo -dirs "include lib tools utils examples projects" echo | ||||
8 | else | ||||
9 | echo "Can't find LLVM top directory in $TOPDIR" | ||||
10 | fi |