[llvm-commits] [llvm] r75867 - in /llvm/trunk/utils: llvmdo llvmgrep
Daniel Dunbar
daniel at zuster.org
Wed Jul 15 17:06:37 PDT 2009
Author: ddunbar
Date: Wed Jul 15 19:06:36 2009
New Revision: 75867
URL: http://llvm.org/viewvc/llvm-project?rev=75867&view=rev
Log:
Update llvm{do,grep} to also search cmake / .cmake files
Modified:
llvm/trunk/utils/llvmdo
llvm/trunk/utils/llvmgrep
Modified: llvm/trunk/utils/llvmdo
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/llvmdo?rev=75867&r1=75866&r2=75867&view=diff
==============================================================================
--- llvm/trunk/utils/llvmdo (original)
+++ llvm/trunk/utils/llvmdo Wed Jul 15 19:06:36 2009
@@ -53,7 +53,7 @@
LLVMDO_DIRS="$2"
shift ; shift
elif test -z "$LLVMDO_DIRS" ; then
- LLVMDO_DIRS="include lib tools utils runtime autoconf docs test examples projects"
+ LLVMDO_DIRS="include lib tools utils runtime autoconf docs test examples projects cmake"
fi
if test "$1" = "-code-only" ; then
@@ -126,6 +126,7 @@
-o -name *.tr \
-o -name *.y \
-o -name Make* \
+ -o -name *.cmake \
-o -name llvmdo \
-o -name llvmgrep \
-o -name check-each-file \
Modified: llvm/trunk/utils/llvmgrep
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/llvmgrep?rev=75867&r1=75866&r2=75867&view=diff
==============================================================================
--- llvm/trunk/utils/llvmgrep (original)
+++ llvm/trunk/utils/llvmgrep Wed Jul 15 19:06:36 2009
@@ -33,7 +33,7 @@
*) grep_cmd="egrep -l -n" ;;
esac
./utils/llvmdo -topdir "$TOPDIR" \
- -dirs "include lib tools utils docs examples test projects" $grep_cmd "$*"
+ -dirs "include lib tools utils docs examples test projects cmake" $grep_cmd "$*"
else
echo "Can't find LLVM top directory"
fi
More information about the llvm-commits
mailing list