llvm.org GIT mirror llvm / c7e289f
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 Reid Spencer 13 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2121 TOPDIR=`llvm-config --src-root`
2222 if test -d "$TOPDIR" ; then
2323 cd $TOPDIR
24 ./utils/llvmdo -dirs "include lib tools test utils examples" wc -l | awk '\
24 ./utils/llvmdo -dirs "include lib tools test utils examples" -code-only wc -l | awk '\
2525 BEGIN { loc=0; } \
2626 { loc += $1; } \
2727 END { print loc; }'