summaryrefslogtreecommitdiffstats
path: root/llvm/projects/sample/lib
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-11-03 00:09:53 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-11-03 00:09:53 +0000
commitb795c434e57a26356d94707ff16dfe8be6c6c4d5 (patch)
treeeb47385a785981d8c9a12acff6708b0eb47cf4f9 /llvm/projects/sample/lib
parentc4e5de55a2e440ad815ebdcb0f41d6504b3e566b (diff)
downloadbcm5719-llvm-b795c434e57a26356d94707ff16dfe8be6c6c4d5.tar.gz
bcm5719-llvm-b795c434e57a26356d94707ff16dfe8be6c6c4d5.zip
Make sample project -pedantic clean.
llvm-svn: 31391
Diffstat (limited to 'llvm/projects/sample/lib')
-rw-r--r--llvm/projects/sample/lib/sample/Makefile3
-rw-r--r--llvm/projects/sample/lib/sample/sample.c5
2 files changed, 3 insertions, 5 deletions
diff --git a/llvm/projects/sample/lib/sample/Makefile b/llvm/projects/sample/lib/sample/Makefile
index c85ae1a711c..05bca6141b0 100644
--- a/llvm/projects/sample/lib/sample/Makefile
+++ b/llvm/projects/sample/lib/sample/Makefile
@@ -16,6 +16,3 @@ BUILD_ARCHIVE=1
# Include Makefile.common so we know what to do.
#
include $(LEVEL)/Makefile.common
-
-CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
-CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
diff --git a/llvm/projects/sample/lib/sample/sample.c b/llvm/projects/sample/lib/sample/sample.c
index 73c1fee79b2..a5ae28091bc 100644
--- a/llvm/projects/sample/lib/sample/sample.c
+++ b/llvm/projects/sample/lib/sample/sample.c
@@ -10,10 +10,11 @@
#include <stdio.h>
#include <stdlib.h>
-// LLVM Header File
+/* LLVM Header File
#include "llvm/Support/DataTypes.h"
+*/
-// Header file global to this project
+/* Header file global to this project */
#include "sample.h"
int
OpenPOWER on IntegriCloud