summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 2ab186fa94..210c6980de 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 \*.\[cdhylt\]\* | grep -v Lexer.cpp | \
+find docs include lib tools utils examples 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 0b3553e144..73cfd41b1e 100755
--- a/utils/llvmgrep
+++ b/utils/llvmgrep
@@ -5,7 +5,7 @@ PATTERN="$*"
TOPDIR=`pwd | sed -e 's#(.*/llvm).*#$1#'`
if test -d "$TOPDIR" ; then
cd $TOPDIR
- find docs include lib tools utils projects -type f \
+ find docs include lib tools utils examples projects -type f \
\( -path '*/doxygen/*' -o -path '*/Burg/*' \) -prune -o \
-name '*.[cdhylt]*' \
\! -name '*~' \