• Home
  • Raw
  • Download

Lines Matching +full:test +full:- +full:docs

2 ##===- utils/llvmdo - Counts Lines Of Code -------------------*- Script -*-===##
9 ##===----------------------------------------------------------------------===##
20 # llvmdo [-topdir DIR] [-dirs "DIRNAMES..."] [-code-only] PROGRAM ARGS...
22 # The -topdir option allows you to specify the llvm source root directly. If it
23 # is not specified then it will be obtained with llvm-config which must be built
26 # The -dirs argument allows you to specify the set of directories that are
28 # include lib tools utils runtime autoconf docs test examples projects
31 # The -code-only option specifies that only those files that are considered
38 ##===----------------------------------------------------------------------===##
40 if test $# -lt 1 ; then
41 echo "Usage: llvmdo [-topdir DIR] [-dirs "DIRNAMES..."] [-code-only] PROGRAM ARGS..."
45 if test "$1" = "-topdir" ; then
49 TOPDIR=`llvm-config --src-root`
52 if test "$1" = "-dirs" ; then
55 elif test -z "$LLVMDO_DIRS" ; then
56 LLVMDO_DIRS="include lib tools utils runtime autoconf docs test examples projects cmake"
59 if test "$1" = "-code-only" ; then
66 if test "$1" = "" ; then
72 if test ! -x "$PROGRAM" ; then
79 -path */.svn/ -o \
80 -path */.svn/* -o \
81 -path docs/doxygen/* -o \
82 -path docs/CommandGuide/html/* -o \
83 -path docs/CommandGuide/man/* -o \
84 -path docs/CommandGuide/ps/* -o \
85 -path docs/CommandGuide/man/* -o \
86 -path docs/HistoricalNotes/* -o \
87 -path docs/img/* -o \
88 -path */.libs/* -o \
89 -path lib/Support/bzip2/* -o \
90 -path projects/llvm-test/* \
93 -name *.ac \
94 -o -name *.b \
95 -o -name *.c \
96 -o -name *.cc \
97 -o -name *.cfg \
98 -o -name *.cpp \
99 -o -name *.css \
100 -o -name *.def \
101 -o -name *.el \
102 -o -name *.exp \
103 -o -name *.footer \
104 -o -name *.gnuplot' \
105 -o -name *.h \
106 -o -name *.header \
107 -o -name *.html \
108 -o -name *.in \
109 -o -name *.inc \
110 -o -name *.intro \
111 -o -name *.l \
112 -o -name *.ll \
113 -o -name *.lst \
114 -o -name *.m4 \
115 -o -name *.pod \
116 -o -name *.pl \
117 -o -name *.py \
118 -o -name *.sh \
119 -o -name *.schema \
120 -o -name *.st \
121 -o -name *.tcl \
122 -o -name *.td \
123 -o -name *.tr \
124 -o -name *.y \
125 -o -name Make* \
126 -o -name *.cmake \
127 -o -name llvmdo \
128 -o -name llvmgrep \
129 -o -name check-each-file \
130 -o -name codgen-diff \
131 -o -name llvm-native-gcc \
132 -o -name llvm-native-gxx \
133 -o -name makellvm \
134 -o -path include/llvm/ADT/ilist \
135 -o -path test/\*.ll \
136 -o -path test/Scripts/not \
137 -o -path runtime/\*.ll \
139 if test -z "$CODE_ONLY" ; then
141 -o -name *.txt \
142 -o -name *.TXT \
143 -o -name *.vim \
144 -o -name vimrc \
145 -o -name README \
146 -o -name COPYING.LIB \
147 -o -name LICENSE* "
150 -name \.* \
151 -o -name *~ \
152 -o -name #* \
153 -o -name configure \
154 -o -name slow.ll \
155 -o -name *libtool* \
156 -o -name ltdl* \
157 -o -name ltdl.m4 \
158 -o -name ltmain.m4 \
159 -o -name ltmain.sh \
160 -o -name aclocal.m4 \
161 -o -name acinclude.m4 \
162 -o -name *LoopSimplifyCrash.ll \
163 -o -name *AST-Remove.ll \
164 -o -name PPCPerfectShuffle.h \
167 if test -d "$TOPDIR" ; then
169 # Have to use the right "find" on a per-platform basis. Most platforms have
171 case `uname -s` in
177 set -f
178 $find_prog $LLVMDO_DIRS -type f \
179 \( $paths_to_ignore \) -prune \
180 -o \( \( $files_to_match \) \! \( $files_to_ignore \) \
181 -exec $PROGRAM "$@" {} \; \)