diff --git a/utils/countloc.sh b/utils/countloc.sh index 736b8805df6..95574cb4462 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; }'