summaryrefslogtreecommitdiff
path: root/utils/llvmdo
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-16 00:06:36 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-16 00:06:36 +0000
commit4f80d718eb92506739fc78804b7b0fd3a5e15aa3 (patch)
treeddff14e42c6375ae121fc29a1a7a46e08a096f2f /utils/llvmdo
parent6687990ca813b5c736214c5ec2d3c9f6279c5fd4 (diff)
downloadllvm-4f80d718eb92506739fc78804b7b0fd3a5e15aa3.tar.gz
llvm-4f80d718eb92506739fc78804b7b0fd3a5e15aa3.tar.bz2
llvm-4f80d718eb92506739fc78804b7b0fd3a5e15aa3.tar.xz
Update llvm{do,grep} to also search cmake / .cmake files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75867 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/llvmdo')
-rwxr-xr-xutils/llvmdo3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/llvmdo b/utils/llvmdo
index b666f2209b..26f2183ae4 100755
--- a/utils/llvmdo
+++ b/utils/llvmdo
@@ -53,7 +53,7 @@ if test "$1" = "-dirs" ; then
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 @@ files_to_match="\
-o -name *.tr \
-o -name *.y \
-o -name Make* \
+ -o -name *.cmake \
-o -name llvmdo \
-o -name llvmgrep \
-o -name check-each-file \