summaryrefslogtreecommitdiffstats
path: root/llvm/utils/llvmdo
Commit message (Collapse)AuthorAgeFilesLines
* remove some exclusions that don't exist anymore.Chris Lattner2009-01-081-3/+0
| | | | llvm-svn: 61932
* remove obsolete filesChris Lattner2008-08-111-7/+0
| | | | llvm-svn: 54630
* remove attributions from utils.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45419
* Ignore the .svn directories so countloc.sh and llvmgrep won't traverse them.Reid Spencer2007-07-041-0/+2
| | | | llvm-svn: 37867
* Make all tools that use llvmdo have a -topdir option that allows the topReid Spencer2006-08-141-113/+131
| | | | | | | | | | | source dir for LLVM to be specified explicitly. This removes the dependency on the llvm-config script. If the option is not given, then the scripts use llvm-config which should be both built and in the PATH. This arrangement provides a useful default for most developers but also allows the nightly tester to execute countloc.sh before llvm-config is built and without altering the PATH. llvm-svn: 29663
* Count the documentation. Otherwise we take a 30,000 hit in the LOC on theReid Spencer2006-08-131-5/+5
| | | | | | nightly test graph. And, documentation is important. llvm-svn: 29654
* Add a -code-only option which restricts llvmdo to visiting just thoseReid Spencer2006-08-131-80/+116
| | | | | | files that are considered to be code. Documentation is excluded. llvm-svn: 29652
* Lexer.cpp is a generated file both in lib/AsmParser and projects/StackerReid Spencer2006-08-111-0/+1
| | | | | | so we remove it from being counted. llvm-svn: 29641
* Weed out some cruft and add in some missing extensions.Reid Spencer2006-08-111-18/+40
| | | | llvm-svn: 29638
* Make llvmdo and llvmgrep invulnerable to where they are run from by gettingReid Spencer2006-08-111-3/+10
| | | | | | | | the llvm source root from the llvm-config command. The dependency now is that the correct llvm-config command is in the path. For most developers this is the case. llvm-svn: 29630
* remove some stuffChris Lattner2006-04-201-2/+0
| | | | llvm-svn: 27903
* PPCPerfectShuffle.h is autogenerated, don't include it in the LOC counts.Chris Lattner2006-04-171-0/+1
| | | | llvm-svn: 27740
* Allow a sequence of digits at the end of the directory name when trying toReid Spencer2006-03-141-1/+1
| | | | | | | | | | | | | | | 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
* Don't include generated lexer .cpp files.Chris Lattner2006-01-191-0/+3
| | | | llvm-svn: 25466
* Remove unused variable.Reid Spencer2004-10-081-1/+0
| | | | llvm-svn: 16844
* Make it so that positional parameters can have spaces in them.Reid Spencer2004-10-081-1/+1
| | | | llvm-svn: 16843
* Fix usage description typoMisha Brukman2004-10-081-1/+1
| | | | llvm-svn: 16831
* Make these scripts work on SunOS too.Reid Spencer2004-10-071-1/+5
| | | | llvm-svn: 16805
* Finish the documentation.Reid Spencer2004-09-201-9/+5
| | | | llvm-svn: 16444
* Tighten up the specification of what counts as a code file. The previousReid Spencer2004-09-201-11/+60
| | | | | | | | specification was too liberal in some areas and missing things in others. This specification is based on the actual extensions found in the source tree. llvm-svn: 16443
* Fixed to actually work correctly and be the basis for other tools byReid Spencer2004-09-201-9/+39
| | | | | | | allowing the set of directories searched to be specified either by the LLVMDO_DIRS env var or by the -dirs "dirs..." command line option. llvm-svn: 16441
* Don't include libtool "object" filesChris Lattner2004-09-181-0/+1
| | | | llvm-svn: 16391
* A utility to run an arbitrary program on each of the LLVM source files.Reid Spencer2004-07-261-0/+31
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
OpenPOWER on IntegriCloud