summaryrefslogtreecommitdiff
path: root/utils/getsrcs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/getsrcs.sh')
-rwxr-xr-xutils/getsrcs.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/getsrcs.sh b/utils/getsrcs.sh
new file mode 100755
index 0000000000..e9b4597484
--- /dev/null
+++ b/utils/getsrcs.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+# This is useful because it prints out all of the source files. Useful for
+# greps.
+find . -name \*.\[chyl\]\* | grep -v Lexer.cpp | grep -v llvmAsmParser.cpp | grep -v llvmAsmParser.h | grep -v '~$' | grep -v '\.ll$' | grep -v test | grep -v .flc