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