llvm-6502/utils/getsrcs.sh
Chris Lattner 6a1e0e6c7b Include .td and .txt files in the greps. This will allow me to find symbols in
them, and also count them in the LOC of LLVM for the nightly tester.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15786 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-15 22:54:31 +00:00

11 lines
542 B
Bash
Executable File

#!/bin/sh
# This is useful because it prints out all of the source files. Useful for
# greps.
find docs include lib tools utils projects -name \*.\[cdhylt\]\* | grep -v Lexer.cpp | \
grep -v llvmAsmParser.cpp | grep -v llvmAsmParser.h | grep -v '~$' | \
grep -v '\.ll$' | grep -v .flc | grep -v Sparc.burm.c | grep -v '\.d$' |\
grep -v '\.dir$' | grep -v '\.la$' | \
grep -v /Burg/ | grep -v '\.lo' | grep -v '\.inc$' | grep -v '\.libs' | \
grep -v TableGen/FileParser.cpp | grep -v TableGen/FileParser.h