From: Chris Lattner Date: Sun, 15 Aug 2004 22:54:31 +0000 (+0000) Subject: Include .td and .txt files in the greps. This will allow me to find symbols in X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6a1e0e6c7bd8080ab429817aeeb278f281111f64;p=oota-llvm.git 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 --- diff --git a/utils/getsrcs.sh b/utils/getsrcs.sh index 49eca3dbd8e..2ab186fa94d 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 5ed48f19d52..0b3553e1443 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' \