mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-05 13:29:22 +00:00
b27b78f6a4
maintain the logic for "what counts as a source file" in one place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16442 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
310 B
Bash
Executable File
11 lines
310 B
Bash
Executable File
#!/bin/sh
|
|
# This is useful because it prints out all of the source files. Useful for
|
|
# greps.
|
|
TOPDIR=`pwd | sed -e 's#\(.*/llvm\).*#\1#'`
|
|
if test -d "$TOPDIR" ; then
|
|
cd $TOPDIR
|
|
./utils/llvmdo -dirs "include lib tools utils examples projects" echo
|
|
else
|
|
echo "Can't find LLVM top directory in $TOPDIR"
|
|
fi
|