Make LOC count more accurate by not including the tablegen lexer/parser, any .inc files, which are generated by tablegen, nor .lo files which sometimes get picked up from libtool

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7770 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-08-12 05:11:12 +00:00
parent 6b666e8afe
commit 175724f2d3

View File

@ -1,5 +1,10 @@
#!/bin/sh
# This is useful because it prints out all of the source files. Useful for
# greps.
find www include lib tools utils -name \*.\[cdhyl\]\* | grep -v Lexer.cpp | grep -v llvmAsmParser.cpp | grep -v llvmAsmParser.h | grep -v '~$' | grep -v '\.ll$' | grep -v .flc | grep -v Sparc.burm.c | grep -v '\.d$' | grep -v '\.dir$' | grep -v www/docs/doxygen | grep -v include/boost | grep -v /Burg/
find www include lib tools utils -name \*.\[cdhyl\]\* | grep -v Lexer.cpp | \
grep -v llvmAsmParser.cpp | grep -v llvmAsmParser.h | grep -v '~$' | \
grep -v '\.ll$' | grep -v .flc | grep -v Sparc.burm.c | grep -v '\.d$' |\
grep -v '\.dir$' | grep -v www/docs/doxygen | grep -v include/boost | \
grep -v /Burg/ | grep -v '\.lo' | grep -v '\.inc$' | \
grep -v TableGen/FileParser.cpp | grep -v TableGen/FileParser.h