[llvm-commits] CVS: llvm/utils/countloc.sh

Reid Spencer reid at x10sys.com
Sun Aug 13 11:29:35 PDT 2006



Changes in directory llvm/utils:

countloc.sh updated: 1.5 -> 1.6
---
Log message:

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.


---
Diffs of the changes:  (+1 -1)

 countloc.sh |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/utils/countloc.sh
diff -u llvm/utils/countloc.sh:1.5 llvm/utils/countloc.sh:1.6
--- llvm/utils/countloc.sh:1.5	Fri Aug 11 16:55:31 2006
+++ llvm/utils/countloc.sh	Sun Aug 13 13:29:21 2006
@@ -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; }'






More information about the llvm-commits mailing list