aboutsummaryrefslogtreecommitdiff
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
commit6a1e0e6c7bd8080ab429817aeeb278f281111f64 (patch)
tree303c0ec38d18c2e10bb5c79743d6d8e8c7be6518
parentd2e89a7b34590a12ba4d63c2d3aaea87f9f7d647 (diff)
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
-rwxr-xr-xutils/getsrcs.sh2
-rwxr-xr-xutils/llvmgrep2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/getsrcs.sh b/utils/getsrcs.sh
index 49eca3dbd8..2ab186fa94 100755
--- a/utils/getsrcs.sh
+++ b/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/utils/llvmgrep b/utils/llvmgrep
index 5ed48f19d5..0b3553e144 100755
--- a/utils/llvmgrep
+++ b/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' \