From: Chris Lattner Date: Tue, 12 Aug 2003 05:11:12 +0000 (+0000) Subject: Make LOC count more accurate by not including the tablegen lexer/parser, any .inc... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=175724f2d332c0cd5e54503c8d95d25417358828;p=oota-llvm.git 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 --- diff --git a/utils/getsrcs.sh b/utils/getsrcs.sh index 13d7084a423..0667d57f4a9 100755 --- a/utils/getsrcs.sh +++ b/utils/getsrcs.sh @@ -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