Add the examples directory to these scripts.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 24 Aug 2004 17:42:33 +0000 (17:42 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 24 Aug 2004 17:42:33 +0000 (17:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16030 91177308-0d34-0410-b5e6-96231b3b80d8

utils/getsrcs.sh
utils/llvmgrep

index 2ab186fa94d8186c379ead3607cd26032fde0014..210c6980ded08042e64d66299b6958beceabd83e 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 \*.\[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$' | \
index 0b3553e1443aae02b4c9ff5c6ad1d85226ad8302..73cfd41b1ef24e4ef2fbc52f45cd184d8012b86d 100755 (executable)
@@ -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 '*~' \