diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-07-16 00:06:36 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-16 00:06:36 +0000 |
| commit | 3ce33b8640ca08ea03de86b31d87f4584a76c647 (patch) | |
| tree | c67df462202c7aa86af192a19c9a88da3227c18c /llvm/utils | |
| parent | d420fd4f75830f724a8dc1d3298ac807c9e5634c (diff) | |
| download | bcm5719-llvm-3ce33b8640ca08ea03de86b31d87f4584a76c647.tar.gz bcm5719-llvm-3ce33b8640ca08ea03de86b31d87f4584a76c647.zip | |
Update llvm{do,grep} to also search cmake / .cmake files
llvm-svn: 75867
Diffstat (limited to 'llvm/utils')
| -rwxr-xr-x | llvm/utils/llvmdo | 3 | ||||
| -rwxr-xr-x | llvm/utils/llvmgrep | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/llvm/utils/llvmdo b/llvm/utils/llvmdo index b666f2209b0..26f2183ae4e 100755 --- a/llvm/utils/llvmdo +++ b/llvm/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 \ diff --git a/llvm/utils/llvmgrep b/llvm/utils/llvmgrep index 7d7355ba990..566ed829737 100755 --- a/llvm/utils/llvmgrep +++ b/llvm/utils/llvmgrep @@ -33,7 +33,7 @@ if test -d "$TOPDIR" ; then *) 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 |

