Skip to content
  1. Mar 14, 2006
    • Reid Spencer's avatar
      Allow a sequence of digits at the end of the directory name when trying to · 3e2d463a
      Reid Spencer authored
      determine the top directory. This allows the tool to find the correct top
      directory when you have something like:
      
         /x/llvm
         /x/llvm2
         /x/llvm3
      
      Previously the scripts would always find /x/llvm even if you were in the
      llvm2 or llvm3 directory because the pattern didn't allow the digits at
      the end of the path.
      
      llvm-svn: 26751
      3e2d463a
  2. Jan 19, 2006
  3. Oct 08, 2004
  4. Oct 07, 2004
  5. Sep 20, 2004
  6. Sep 18, 2004
  7. Jul 27, 2004
    • Reid Spencer's avatar
      A utility to run an arbitrary program on each of the LLVM source files. · a559cb8e
      Reid Spencer authored
      This is like llvmgrep but instead of running grep, it runs the command
      given by the first argument. For example, to find the top ten files with
      the most lines in llvm, you could:
      
      utils/llvmdo wc -l | sort -nb | tail
      
      Or, to find any source files with the wrong permissions, you could:
      
      utils/llvmdo ls -l | grep -v rw-r--r--
      
      Hopefully, you get the idea.
      
      llvm-svn: 15246
      a559cb8e
  8. Jul 07, 2004
  9. Jun 19, 2004
    • Reid Spencer's avatar
      A utility to search the LLVM source tree for a grep pattern. This is a · 0277fd7b
      Reid Spencer authored
      replacement for getsrcs.sh which now generates too much text to put on a
      Linux command line. The approach taken with llvmgrep is to execute a find
      command and execute a grep on each file that matches the name pattern. The
      arguments to this script are the same as those of egrep. Note that the -H
      and -n options to egrep will always be passed so that you always get the
      file and line number of matches.
      
      llvm-svn: 14255
      0277fd7b
Loading