diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-12 05:11:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-12 05:11:12 +0000 |
commit | 175724f2d332c0cd5e54503c8d95d25417358828 (patch) | |
tree | 8629edd2d22a8214593c0a05f34dcfc0751eff9a /utils/getsrcs.sh | |
parent | 6b666e8afea9695e18ac794376ac71bc677fedbb (diff) |
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
Diffstat (limited to 'utils/getsrcs.sh')
-rwxr-xr-x | utils/getsrcs.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/utils/getsrcs.sh b/utils/getsrcs.sh index 13d7084a42..0667d57f4a 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 |