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.

llvm-svn: 29653
This commit is contained in:
Reid Spencer 2006-08-13 18:29:21 +00:00
parent 1be8d4c3c3
commit 4e6115ea3a
1 changed files with 1 additions and 1 deletions

View File

@ -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; }'