From 6a1e0e6c7bd8080ab429817aeeb278f281111f64 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 15 Aug 2004 22:54:31 +0000 Subject: [PATCH] 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 --- utils/getsrcs.sh | 2 +- utils/llvmgrep | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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' \