llvm.org GIT mirror llvm / release_1 utils / getsrcs.sh
release_1

Tree @release_1 (Download .tar.gz)

getsrcs.sh @release_1raw · history · blame

1
2
3
4
5
6
7
8
9
#!/bin/sh
# This is useful because it prints out all of the source files.  Useful for
# greps.
find docs 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