Skip to content
  1. Sep 20, 2004
  2. Sep 18, 2004
  3. 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
  4. Jul 07, 2004
  5. 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