mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-10 17:29:44 +00:00
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
This commit is contained in:
parent
956dae87ae
commit
c7e289f7ca
@ -22,7 +22,7 @@
|
|||||||
TOPDIR=`llvm-config --src-root`
|
TOPDIR=`llvm-config --src-root`
|
||||||
if test -d "$TOPDIR" ; then
|
if test -d "$TOPDIR" ; then
|
||||||
cd $TOPDIR
|
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; } \
|
BEGIN { loc=0; } \
|
||||||
{ loc += $1; } \
|
{ loc += $1; } \
|
||||||
END { print loc; }'
|
END { print loc; }'
|
||||||
|
Loading…
Reference in New Issue
Block a user