summaryrefslogtreecommitdiff
path: root/utils/getsrcs.sh
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-09-20 08:09:36 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-09-20 08:09:36 +0000
commit181e65dff10d7c06ae61e35f79003ea79186635e (patch)
treea4114d6472b0ee3cb77fc148aec3d4990b3faec2 /utils/getsrcs.sh
parent9610fc901a7f61b065d2ddbf2d3e68a2c973ac88 (diff)
downloadllvm-181e65dff10d7c06ae61e35f79003ea79186635e.tar.gz
llvm-181e65dff10d7c06ae61e35f79003ea79186635e.tar.bz2
llvm-181e65dff10d7c06ae61e35f79003ea79186635e.tar.xz
Documentation upgrade.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/getsrcs.sh')
-rwxr-xr-xutils/getsrcs.sh18
1 files changed, 16 insertions, 2 deletions
diff --git a/utils/getsrcs.sh b/utils/getsrcs.sh
index 2b2f7089e5..c757b2c402 100755
--- a/utils/getsrcs.sh
+++ b/utils/getsrcs.sh
@@ -1,6 +1,20 @@
#!/bin/sh
-# This is useful because it prints out all of the source files. Useful for
-# greps.
+##===- utils/getsrcs.sh - Counts Lines Of Code ---------------*- Script -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Chris Lattner and Reid Spencer and is distributed
+# under the # University of Illinois Open Source License. See LICENSE.TXT for
+# details.
+#
+##===----------------------------------------------------------------------===##
+#
+# This script just prints out the path names for all the source files in LLVM.
+#
+# Note that the implementation is based on llvmdo. See that script for more
+# details.
+##===----------------------------------------------------------------------===##
+
TOPDIR=`pwd | sed -e 's#\(.*/llvm\).*#\1#'`
if test -d "$TOPDIR" ; then
cd $TOPDIR