summaryrefslogtreecommitdiff
path: root/utils/llvmdo
Commit message (Collapse)AuthorAge
* Remove CVS artifacts.Dan Gohman2010-08-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110206 91177308-0d34-0410-b5e6-96231b3b80d8
* cvsupdate is gone.Dan Gohman2010-08-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110204 91177308-0d34-0410-b5e6-96231b3b80d8
* .llx is no more.Chris Lattner2009-12-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91784 91177308-0d34-0410-b5e6-96231b3b80d8
* Update llvm{do,grep} to also search cmake / .cmake filesDaniel Dunbar2009-07-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75867 91177308-0d34-0410-b5e6-96231b3b80d8
* remove some exclusions that don't exist anymore.Chris Lattner2009-01-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61932 91177308-0d34-0410-b5e6-96231b3b80d8
* remove obsolete filesChris Lattner2008-08-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54630 91177308-0d34-0410-b5e6-96231b3b80d8
* remove attributions from utils.Chris Lattner2007-12-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45419 91177308-0d34-0410-b5e6-96231b3b80d8
* Ignore the .svn directories so countloc.sh and llvmgrep won't traverse them.Reid Spencer2007-07-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37867 91177308-0d34-0410-b5e6-96231b3b80d8
* Make all tools that use llvmdo have a -topdir option that allows the topReid Spencer2006-08-14
| | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29663 91177308-0d34-0410-b5e6-96231b3b80d8
* Count the documentation. Otherwise we take a 30,000 hit in the LOC on theReid Spencer2006-08-13
| | | | | | | nightly test graph. And, documentation is important. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29654 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a -code-only option which restricts llvmdo to visiting just thoseReid Spencer2006-08-13
| | | | | | | files that are considered to be code. Documentation is excluded. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29652 91177308-0d34-0410-b5e6-96231b3b80d8
* Lexer.cpp is a generated file both in lib/AsmParser and projects/StackerReid Spencer2006-08-11
| | | | | | | so we remove it from being counted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29641 91177308-0d34-0410-b5e6-96231b3b80d8
* Weed out some cruft and add in some missing extensions.Reid Spencer2006-08-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29638 91177308-0d34-0410-b5e6-96231b3b80d8
* Make llvmdo and llvmgrep invulnerable to where they are run from by gettingReid Spencer2006-08-11
| | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29630 91177308-0d34-0410-b5e6-96231b3b80d8
* remove some stuffChris Lattner2006-04-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27903 91177308-0d34-0410-b5e6-96231b3b80d8
* PPCPerfectShuffle.h is autogenerated, don't include it in the LOC counts.Chris Lattner2006-04-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27740 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow a sequence of digits at the end of the directory name when trying toReid Spencer2006-03-14
| | | | | | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26751 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't include generated lexer .cpp files.Chris Lattner2006-01-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25466 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unused variable.Reid Spencer2004-10-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16844 91177308-0d34-0410-b5e6-96231b3b80d8
* Make it so that positional parameters can have spaces in them.Reid Spencer2004-10-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16843 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix usage description typoMisha Brukman2004-10-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16831 91177308-0d34-0410-b5e6-96231b3b80d8
* Make these scripts work on SunOS too.Reid Spencer2004-10-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16805 91177308-0d34-0410-b5e6-96231b3b80d8
* Finish the documentation.Reid Spencer2004-09-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16444 91177308-0d34-0410-b5e6-96231b3b80d8
* Tighten up the specification of what counts as a code file. The previousReid Spencer2004-09-20
| | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16443 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed to actually work correctly and be the basis for other tools byReid Spencer2004-09-20
| | | | | | | | allowing the set of directories searched to be specified either by the LLVMDO_DIRS env var or by the -dirs "dirs..." command line option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16441 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't include libtool "object" filesChris Lattner2004-09-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16391 91177308-0d34-0410-b5e6-96231b3b80d8
* A utility to run an arbitrary program on each of the LLVM source files.Reid Spencer2004-07-26
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15246 91177308-0d34-0410-b5e6-96231b3b80d8