summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-15 22:54:31 +0000
committerChris Lattner <sabre@nondot.org>2004-08-15 22:54:31 +0000
commit9f714c8d35717ad7bdb660c2d1cbcf7b979a842e (patch)
tree74fe5a721bc473637f5c27abfbf0a8dbfa860ce5 /llvm
parent26516544a1ef44ffba99d2892b100dd80f627b87 (diff)
downloadbcm5719-llvm-9f714c8d35717ad7bdb660c2d1cbcf7b979a842e.tar.gz
bcm5719-llvm-9f714c8d35717ad7bdb660c2d1cbcf7b979a842e.zip
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. llvm-svn: 15786
Diffstat (limited to 'llvm')
-rwxr-xr-xllvm/utils/getsrcs.sh2
-rwxr-xr-xllvm/utils/llvmgrep2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/getsrcs.sh b/llvm/utils/getsrcs.sh
index 49eca3dbd8e..2ab186fa94d 100755
--- a/llvm/utils/getsrcs.sh
+++ b/llvm/utils/getsrcs.sh
@@ -1,7 +1,7 @@
#!/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 \*.\[cdhyl\]\* | grep -v Lexer.cpp | \
+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$' | \
diff --git a/llvm/utils/llvmgrep b/llvm/utils/llvmgrep
index 5ed48f19d52..0b3553e1443 100755
--- a/llvm/utils/llvmgrep
+++ b/llvm/utils/llvmgrep
@@ -7,7 +7,7 @@ if test -d "$TOPDIR" ; then
cd $TOPDIR
find docs include lib tools utils projects -type f \
\( -path '*/doxygen/*' -o -path '*/Burg/*' \) -prune -o \
- -name '*.[cdhyl]*' \
+ -name '*.[cdhylt]*' \
\! -name '*~' \
\! -name '#*' \
\! -name '*.ll' \
OpenPOWER on IntegriCloud