summaryrefslogtreecommitdiffstats
path: root/llvm/projects/sample
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-04-23 21:26:11 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-04-23 21:26:11 +0000
commit8047f13a888189189f1efde5509462b80a967bd1 (patch)
tree17dc0d36ea93930a67bfc7915a184b7ebb6c0ff6 /llvm/projects/sample
parent4bbf66b7a27e5ed5c3bb563cd1d0dd28ca6201c2 (diff)
downloadbcm5719-llvm-8047f13a888189189f1efde5509462b80a967bd1.tar.gz
bcm5719-llvm-8047f13a888189189f1efde5509462b80a967bd1.zip
Eliminate tabs and trailing spaces
llvm-svn: 21479
Diffstat (limited to 'llvm/projects/sample')
-rw-r--r--llvm/projects/sample/include/sample.h4
-rw-r--r--llvm/projects/sample/lib/sample/sample.c8
-rw-r--r--llvm/projects/sample/tools/sample/main.c4
3 files changed, 8 insertions, 8 deletions
diff --git a/llvm/projects/sample/include/sample.h b/llvm/projects/sample/include/sample.h
index db3441f76ff..b3ce9ce2928 100644
--- a/llvm/projects/sample/include/sample.h
+++ b/llvm/projects/sample/include/sample.h
@@ -1,8 +1,8 @@
/*
* File: sample.h
*
- * This is a sample header file that is global to the entire project.
- * It is located here so that everyone will find it.
+ * This is a sample header file that is global to the entire project.
+ * It is located here so that everyone will find it.
*/
extern int compute_sample (int a);
diff --git a/llvm/projects/sample/lib/sample/sample.c b/llvm/projects/sample/lib/sample/sample.c
index 631a48d1ad1..73c1fee79b2 100644
--- a/llvm/projects/sample/lib/sample/sample.c
+++ b/llvm/projects/sample/lib/sample/sample.c
@@ -2,9 +2,9 @@
* File: sample.c
*
* Description:
- * This is a sample source file for a library. It helps to demonstrate
- * how to setup a project that uses the LLVM build system, header files,
- * and libraries.
+ * This is a sample source file for a library. It helps to demonstrate
+ * how to setup a project that uses the LLVM build system, header files,
+ * and libraries.
*/
#include <stdio.h>
@@ -19,6 +19,6 @@
int
compute_sample (int a)
{
- return a;
+ return a;
}
diff --git a/llvm/projects/sample/tools/sample/main.c b/llvm/projects/sample/tools/sample/main.c
index 66073352de0..2880265f845 100644
--- a/llvm/projects/sample/tools/sample/main.c
+++ b/llvm/projects/sample/tools/sample/main.c
@@ -8,7 +8,7 @@
int
main (int argc, char ** argv)
{
- printf ("%d\n", compute_sample (5));
- exit (0);
+ printf ("%d\n", compute_sample (5));
+ exit (0);
}
OpenPOWER on IntegriCloud