aboutsummaryrefslogtreecommitdiffstats
path: root/utils/countloc.sh
Commit message (Collapse)AuthorAgeFilesLines
* remove attributions from utils.Chris Lattner2007-12-291-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45419 91177308-0d34-0410-b5e6-96231b3b80d8
* Make all tools that use llvmdo have a -topdir option that allows the topReid Spencer2006-08-141-5/+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
* Use the new -code-only option to llvmdo so that we only count things thatReid Spencer2006-08-131-1/+1
| | | | | | | | are considered to be code. This will give a drop in the LOC count on the nightly testers, but it is more accurate than previous estimates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29653 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this script not care where it is run from by getting the llvm srcReid Spencer2006-08-111-1/+1
| | | | | | | root from the llvm-config script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29632 91177308-0d34-0410-b5e6-96231b3b80d8
* Documentation upgrade.Reid Spencer2004-09-201-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16445 91177308-0d34-0410-b5e6-96231b3b80d8
* Base the implementation on the llvmdo script so that we only have toReid Spencer2004-09-201-14/+2
| | | | | | | maintain the logic for "what counts as a source file" in one place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16442 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't count .lo files :)Chris Lattner2004-09-201-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16439 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a tool to more accurately count the lines of code. The previousReid Spencer2004-09-061-0/+38
utility, getsrcs.sh suffered from two problems: (1) it generated command lines too long for some platforms and (2) it searched the projects diretory which now contains the llvm-test module (in nightly tester) but we don't want to include the test code in our LOC calculation. This script should be maintained as LLVM adds new top level directories that contain source code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16199 91177308-0d34-0410-b5e6-96231b3b80d8