diff --git a/llvm/utils/countloc.sh b/llvm/utils/countloc.sh index 736b8805df67..95574cb4462f 100755 --- a/llvm/utils/countloc.sh +++ b/llvm/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; }'