aboutsummaryrefslogtreecommitdiff
path: root/utils/countloc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/countloc.sh')
-rwxr-xr-xutils/countloc.sh2
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; }'