Include .td and .txt files in the greps. This will allow me to find symbols in
authorChris Lattner <sabre@nondot.org>
Sun, 15 Aug 2004 22:54:31 +0000 (22:54 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 15 Aug 2004 22:54:31 +0000 (22:54 +0000)
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

utils/getsrcs.sh
utils/llvmgrep

index 49eca3dbd8e27c7ad729dfedd13795e04e451ef4..2ab186fa94d8186c379ead3607cd26032fde0014 100755 (executable)
@@ -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$' | \
index 5ed48f19d527711a0189a6e27f517de620c3caeb..0b3553e1443aae02b4c9ff5c6ad1d85226ad8302 100755 (executable)
@@ -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' \