diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-08-13 18:29:21 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-08-13 18:29:21 +0000 |
commit | c7e289f7ca0ac545e13ccef22c7146075480fd89 (patch) | |
tree | c716a5540cf0587a46b54cb7124c83259d5a1f64 /utils/countloc.sh | |
parent | 956dae87ae9ba4177a51c31c78ea33d49ded7f57 (diff) |
Use the new -code-only option to llvmdo so that we only count things that
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
Diffstat (limited to 'utils/countloc.sh')
-rwxr-xr-x | utils/countloc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/countloc.sh b/utils/countloc.sh index 736b8805df..95574cb446 100755 --- a/utils/countloc.sh +++ b/utils/countloc.sh @@ -22,7 +22,7 @@ TOPDIR=`llvm-config --src-root` if test -d "$TOPDIR" ; then cd $TOPDIR - ./utils/llvmdo -dirs "include lib tools test utils examples" wc -l | awk '\ + ./utils/llvmdo -dirs "include lib tools test utils examples" -code-only wc -l | awk '\ BEGIN { loc=0; } \ { loc += $1; } \ END { print loc; }' |