1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/utils/getsrcs.sh
2004-08-24 17:42:33 +00:00

11 lines
551 B
Bash
Executable File

#!/bin/sh
# This is useful because it prints out all of the source files. Useful for
# greps.
find docs include lib tools utils examples projects -name \*.\[cdhylt\]\* | 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