diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-09-20 08:09:36 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-09-20 08:09:36 +0000 |
commit | 5ef171a5b1a8557524dd3a963a22380895108c9b (patch) | |
tree | 32cb116e8c6e21d47e076c9b948fc86de9a1cd3d /llvm/utils/llvmgrep | |
parent | e380f931db4851416c169ee6f742029d4a4c3081 (diff) | |
download | bcm5719-llvm-5ef171a5b1a8557524dd3a963a22380895108c9b.tar.gz bcm5719-llvm-5ef171a5b1a8557524dd3a963a22380895108c9b.zip |
Documentation upgrade.
llvm-svn: 16445
Diffstat (limited to 'llvm/utils/llvmgrep')
-rwxr-xr-x | llvm/utils/llvmgrep | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/llvm/utils/llvmgrep b/llvm/utils/llvmgrep index 18af4346e75..ec2bd4f5be9 100755 --- a/llvm/utils/llvmgrep +++ b/llvm/utils/llvmgrep @@ -1,6 +1,23 @@ #!/bin/sh -# This is useful because it prints out all of the source files. Useful for -# greps. +##===- utils/llvmgrep - Counts Lines Of Code -----------------*- Script -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file was developed by Reid Spencer and is distributed under the +# University of Illinois Open Source License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## +# +# This script searches your srcdir for an egrep style pattern. This can quickly +# help you build a list of the places you need to modify when changing a header +# or other "global" name. The only argument is the pattern you want to search +# for. It should be quoted to escape shell interpretation of the pattern's +# special characters. +# +# Note that the implementation is based on llvmdo. See that script for more +# details. +##===----------------------------------------------------------------------===## + TOPDIR=`pwd | sed -e 's#\(.*/llvm\).*#\1#'` if test -d "$TOPDIR" ; then cd $TOPDIR |