summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-c-test
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2017-12-13 21:31:10 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2017-12-13 21:31:10 +0000
commit62602a476ae4921d50253ea8ee51cb970c64d695 (patch)
treea9b04a69780696ecdc06cc1b4e31e7ccef69c55d /llvm/tools/llvm-c-test
parent5c0ab473f26d8bfd483f0c3a67b0d92b46f7f2d7 (diff)
downloadbcm5719-llvm-62602a476ae4921d50253ea8ee51cb970c64d695.tar.gz
bcm5719-llvm-62602a476ae4921d50253ea8ee51cb970c64d695.zip
Remove redundant includes from tools.
llvm-svn: 320631
Diffstat (limited to 'llvm/tools/llvm-c-test')
-rw-r--r--llvm/tools/llvm-c-test/debuginfo.c2
-rw-r--r--llvm/tools/llvm-c-test/helpers.c1
-rw-r--r--llvm/tools/llvm-c-test/main.c2
-rw-r--r--llvm/tools/llvm-c-test/module.c1
4 files changed, 0 insertions, 6 deletions
diff --git a/llvm/tools/llvm-c-test/debuginfo.c b/llvm/tools/llvm-c-test/debuginfo.c
index 2da3887a172..3f728948e02 100644
--- a/llvm/tools/llvm-c-test/debuginfo.c
+++ b/llvm/tools/llvm-c-test/debuginfo.c
@@ -11,9 +11,7 @@
|* *|
\*===----------------------------------------------------------------------===*/
-#include "llvm-c-test.h"
#include "llvm-c/DebugInfo.h"
-#include <string.h>
#include <stdio.h>
int llvm_test_dibuilder() {
diff --git a/llvm/tools/llvm-c-test/helpers.c b/llvm/tools/llvm-c-test/helpers.c
index 97fbaab6d6c..9af88bd8be9 100644
--- a/llvm/tools/llvm-c-test/helpers.c
+++ b/llvm/tools/llvm-c-test/helpers.c
@@ -11,7 +11,6 @@
|* *|
\*===----------------------------------------------------------------------===*/
-#include "llvm-c-test.h"
#include <stdio.h>
#include <string.h>
diff --git a/llvm/tools/llvm-c-test/main.c b/llvm/tools/llvm-c-test/main.c
index 5130783d6a6..60ab7f0f900 100644
--- a/llvm/tools/llvm-c-test/main.c
+++ b/llvm/tools/llvm-c-test/main.c
@@ -12,9 +12,7 @@
\*===----------------------------------------------------------------------===*/
#include "llvm-c-test.h"
-#include "llvm-c/BitReader.h"
#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
static void print_usage(void) {
diff --git a/llvm/tools/llvm-c-test/module.c b/llvm/tools/llvm-c-test/module.c
index c47b55d5029..cbb44d0bd15 100644
--- a/llvm/tools/llvm-c-test/module.c
+++ b/llvm/tools/llvm-c-test/module.c
@@ -16,7 +16,6 @@
#include "llvm-c/BitReader.h"
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
static void diagnosticHandler(LLVMDiagnosticInfoRef DI, void *C) {
char *CErr = LLVMGetDiagInfoDescription(DI);
OpenPOWER on IntegriCloud