Use fileutilities instead of mmap directly
[oota-llvm.git] / utils / getsrcs.sh
index a27ccad38421b6be139f2b437cc2516e1fa21152..49eca3dbd8e27c7ad729dfedd13795e04e451ef4 100755 (executable)
@@ -1,5 +1,10 @@
 #!/bin/sh
 # This is useful because it prints out all of the source files.  Useful for
 # greps.
-find docs include lib tools -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 docs/doxygen
+find docs include lib tools utils projects -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 '\.la$' | \
+       grep -v /Burg/ | grep -v '\.lo' | grep -v '\.inc$' | grep -v '\.libs' | \
+       grep -v TableGen/FileParser.cpp | grep -v TableGen/FileParser.h