Update llvm{do,grep} to also search cmake / .cmake files
[oota-llvm.git] / utils / llvmdo
index b666f2209b06d9a00d9898f00971081fe1765e52..26f2183ae4ee541905a5188d56995b58e655b37e 100755 (executable)
@@ -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 \