Make LOC count more accurate by not including the tablegen lexer/parser, any .inc...
authorChris Lattner <sabre@nondot.org>
Tue, 12 Aug 2003 05:11:12 +0000 (05:11 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 12 Aug 2003 05:11:12 +0000 (05:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7770 91177308-0d34-0410-b5e6-96231b3b80d8

utils/getsrcs.sh

index 13d7084a42361de00465f1cdcefff17044dce3ba..0667d57f4a9dc9a7e7c8e96941a68e28a4b1249d 100755 (executable)
@@ -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