summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/module-map-checker
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/module-map-checker')
-rw-r--r--clang-tools-extra/test/module-map-checker/Inputs/includes-test/Includes1/Level1A.h1
-rw-r--r--clang-tools-extra/test/module-map-checker/Inputs/includes-test/Includes2/Level2A.h1
-rw-r--r--clang-tools-extra/test/module-map-checker/Inputs/includes-test/NonIncludes/Level3A.h1
-rw-r--r--clang-tools-extra/test/module-map-checker/Inputs/includes-test/module.modulemap10
-rw-r--r--clang-tools-extra/test/module-map-checker/Inputs/main-test/Level1A.h2
-rw-r--r--clang-tools-extra/test/module-map-checker/Inputs/main-test/Level1B.h2
-rw-r--r--clang-tools-extra/test/module-map-checker/Inputs/main-test/Level2A.h1
-rw-r--r--clang-tools-extra/test/module-map-checker/Inputs/main-test/Level2B.h1
-rw-r--r--clang-tools-extra/test/module-map-checker/Inputs/main-test/Level3A.h2
-rw-r--r--clang-tools-extra/test/module-map-checker/Inputs/main-test/Sub/Level3B.h1
-rw-r--r--clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaFile.h3
-rw-r--r--clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaInclude1.h1
-rw-r--r--clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaInclude2.h1
-rw-r--r--clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaSub/Umbrell1.h1
-rw-r--r--clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaSub/Umbrell2.h1
-rw-r--r--clang-tools-extra/test/module-map-checker/Inputs/main-test/module.modulemap30
-rw-r--r--clang-tools-extra/test/module-map-checker/includes.module-map-checker1
-rw-r--r--clang-tools-extra/test/module-map-checker/main-test.module-map-checker4
18 files changed, 0 insertions, 64 deletions
diff --git a/clang-tools-extra/test/module-map-checker/Inputs/includes-test/Includes1/Level1A.h b/clang-tools-extra/test/module-map-checker/Inputs/includes-test/Includes1/Level1A.h
deleted file mode 100644
index 10eef6787e4..00000000000
--- a/clang-tools-extra/test/module-map-checker/Inputs/includes-test/Includes1/Level1A.h
+++ /dev/null
@@ -1 +0,0 @@
-#define MACRO_1A 1
diff --git a/clang-tools-extra/test/module-map-checker/Inputs/includes-test/Includes2/Level2A.h b/clang-tools-extra/test/module-map-checker/Inputs/includes-test/Includes2/Level2A.h
deleted file mode 100644
index 9a355df06a8..00000000000
--- a/clang-tools-extra/test/module-map-checker/Inputs/includes-test/Includes2/Level2A.h
+++ /dev/null
@@ -1 +0,0 @@
-#define MACRO_2A 1
diff --git a/clang-tools-extra/test/module-map-checker/Inputs/includes-test/NonIncludes/Level3A.h b/clang-tools-extra/test/module-map-checker/Inputs/includes-test/NonIncludes/Level3A.h
deleted file mode 100644
index 594e284cbf9..00000000000
--- a/clang-tools-extra/test/module-map-checker/Inputs/includes-test/NonIncludes/Level3A.h
+++ /dev/null
@@ -1 +0,0 @@
-#define MACRO_3A 1
diff --git a/clang-tools-extra/test/module-map-checker/Inputs/includes-test/module.modulemap b/clang-tools-extra/test/module-map-checker/Inputs/includes-test/module.modulemap
deleted file mode 100644
index 49ad69387b2..00000000000
--- a/clang-tools-extra/test/module-map-checker/Inputs/includes-test/module.modulemap
+++ /dev/null
@@ -1,10 +0,0 @@
-// module.modulemap
-
-module Level1A {
- header "Includes1/Level1A.h"
- export *
-}
-module Level2A {
- header "Includes2/Level2A.h"
- export *
-}
diff --git a/clang-tools-extra/test/module-map-checker/Inputs/main-test/Level1A.h b/clang-tools-extra/test/module-map-checker/Inputs/main-test/Level1A.h
deleted file mode 100644
index 165efc738ea..00000000000
--- a/clang-tools-extra/test/module-map-checker/Inputs/main-test/Level1A.h
+++ /dev/null
@@ -1,2 +0,0 @@
-#include "Level2A.h"
-#define MACRO_1A 1
diff --git a/clang-tools-extra/test/module-map-checker/Inputs/main-test/Level1B.h b/clang-tools-extra/test/module-map-checker/Inputs/main-test/Level1B.h
deleted file mode 100644
index 1e607987e63..00000000000
--- a/clang-tools-extra/test/module-map-checker/Inputs/main-test/Level1B.h
+++ /dev/null
@@ -1,2 +0,0 @@
-#include "Level2B.h"
-#define MACRO_1B 1
diff --git a/clang-tools-extra/test/module-map-checker/Inputs/main-test/Level2A.h b/clang-tools-extra/test/module-map-checker/Inputs/main-test/Level2A.h
deleted file mode 100644
index 9a355df06a8..00000000000
--- a/clang-tools-extra/test/module-map-checker/Inputs/main-test/Level2A.h
+++ /dev/null
@@ -1 +0,0 @@
-#define MACRO_2A 1
diff --git a/clang-tools-extra/test/module-map-checker/Inputs/main-test/Level2B.h b/clang-tools-extra/test/module-map-checker/Inputs/main-test/Level2B.h
deleted file mode 100644
index 25b70179c93..00000000000
--- a/clang-tools-extra/test/module-map-checker/Inputs/main-test/Level2B.h
+++ /dev/null
@@ -1 +0,0 @@
-#define MACRO_2B 1
diff --git a/clang-tools-extra/test/module-map-checker/Inputs/main-test/Level3A.h b/clang-tools-extra/test/module-map-checker/Inputs/main-test/Level3A.h
deleted file mode 100644
index 1699061c0b7..00000000000
--- a/clang-tools-extra/test/module-map-checker/Inputs/main-test/Level3A.h
+++ /dev/null
@@ -1,2 +0,0 @@
-#include "Sub/Level3B.h"
-#define MACRO_3A 1
diff --git a/clang-tools-extra/test/module-map-checker/Inputs/main-test/Sub/Level3B.h b/clang-tools-extra/test/module-map-checker/Inputs/main-test/Sub/Level3B.h
deleted file mode 100644
index e1eee7ef8b5..00000000000
--- a/clang-tools-extra/test/module-map-checker/Inputs/main-test/Sub/Level3B.h
+++ /dev/null
@@ -1 +0,0 @@
-#define MACRO_3B 1
diff --git a/clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaFile.h b/clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaFile.h
deleted file mode 100644
index 5417a4272c1..00000000000
--- a/clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaFile.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#define UMBRELLA_HEADER 1
-#include "UmbrellaInclude1.h"
-#include "UmbrellaInclude2.h"
diff --git a/clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaInclude1.h b/clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaInclude1.h
deleted file mode 100644
index adf82cb507e..00000000000
--- a/clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaInclude1.h
+++ /dev/null
@@ -1 +0,0 @@
-#define UMBRELLA_INCLUDE_1 1
diff --git a/clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaInclude2.h b/clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaInclude2.h
deleted file mode 100644
index a3875ab39d0..00000000000
--- a/clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaInclude2.h
+++ /dev/null
@@ -1 +0,0 @@
-#define UMBRELLA_INCLUDE_2 1
diff --git a/clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaSub/Umbrell1.h b/clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaSub/Umbrell1.h
deleted file mode 100644
index 719c2237439..00000000000
--- a/clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaSub/Umbrell1.h
+++ /dev/null
@@ -1 +0,0 @@
-#define UMBRELLA_1 1
diff --git a/clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaSub/Umbrell2.h b/clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaSub/Umbrell2.h
deleted file mode 100644
index 8efec99b5f5..00000000000
--- a/clang-tools-extra/test/module-map-checker/Inputs/main-test/UmbrellaSub/Umbrell2.h
+++ /dev/null
@@ -1 +0,0 @@
-#define UMBRELLA_2 1
diff --git a/clang-tools-extra/test/module-map-checker/Inputs/main-test/module.modulemap b/clang-tools-extra/test/module-map-checker/Inputs/main-test/module.modulemap
deleted file mode 100644
index ec3da738d8f..00000000000
--- a/clang-tools-extra/test/module-map-checker/Inputs/main-test/module.modulemap
+++ /dev/null
@@ -1,30 +0,0 @@
-// module.modulemap
-
-module Level1A {
- header "Level1A.h"
- export *
-}
-module Level1B {
- header "Level1B.h"
- export *
- module Level2B {
- header "Level2B.h"
- export *
- }
-}
-module Level2A {
- header "Level2A.h"
- export *
-}
-module UmbrellaDirectoryModule {
- umbrella "UmbrellaSub"
-}
-module UmbrellaHeaderModule {
- umbrella header "UmbrellaFile.h"
-}
-/*
-module NoHeader {
- header "NoHeader.h"
- export *
-}
-*/
diff --git a/clang-tools-extra/test/module-map-checker/includes.module-map-checker b/clang-tools-extra/test/module-map-checker/includes.module-map-checker
deleted file mode 100644
index e5e350bf3f2..00000000000
--- a/clang-tools-extra/test/module-map-checker/includes.module-map-checker
+++ /dev/null
@@ -1 +0,0 @@
-# RUN: module-map-checker -I Includes1 -I Includes2 %S/Inputs/includes-test/module.modulemap
diff --git a/clang-tools-extra/test/module-map-checker/main-test.module-map-checker b/clang-tools-extra/test/module-map-checker/main-test.module-map-checker
deleted file mode 100644
index 31c21edc9b0..00000000000
--- a/clang-tools-extra/test/module-map-checker/main-test.module-map-checker
+++ /dev/null
@@ -1,4 +0,0 @@
-# RUN: not module-map-checker %S/Inputs/main-test/module.modulemap 2>&1 | FileCheck %s
-
-# CHECK: warning: {{.*}}{{[/\\]}}Inputs/main-test/module.modulemap does not account for file: {{.*}}{{[/\\]}}Inputs/main-test/Level3A.h
-# CHECK-NEXT: warning: {{.*}}{{[/\\]}}Inputs/main-test/module.modulemap does not account for file: {{.*}}{{[/\\]}}Inputs/main-test/Sub/Level3B.h
OpenPOWER on IntegriCloud