summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/redecls
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-01-22 23:07:47 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-01-22 23:07:47 +0000
commit999500a26dfb1285bb9ea4dc489f49f7809d09d9 (patch)
tree0f3a34d577a2e23ee65f777b23baea9b9305bb5b /clang/test/Modules/redecls
parente8b5e49ffd3f21f80bceab0f9baeb35331106d55 (diff)
downloadbcm5719-llvm-999500a26dfb1285bb9ea4dc489f49f7809d09d9.tar.gz
bcm5719-llvm-999500a26dfb1285bb9ea4dc489f49f7809d09d9.zip
Reorganize test/Modules:
* Put all input files under Inputs/, move corresponding tests into test/Modules. * Rename a modulemap test file to [...].modulemap, and teach lit that such files are tests. llvm-svn: 226875
Diffstat (limited to 'clang/test/Modules/redecls')
-rw-r--r--clang/test/Modules/redecls/a.h3
-rw-r--r--clang/test/Modules/redecls/b.h1
-rw-r--r--clang/test/Modules/redecls/main.m27
-rw-r--r--clang/test/Modules/redecls/module.map2
4 files changed, 0 insertions, 33 deletions
diff --git a/clang/test/Modules/redecls/a.h b/clang/test/Modules/redecls/a.h
deleted file mode 100644
index 1647f86606a..00000000000
--- a/clang/test/Modules/redecls/a.h
+++ /dev/null
@@ -1,3 +0,0 @@
-@interface AA
-@end
-@class AA;
diff --git a/clang/test/Modules/redecls/b.h b/clang/test/Modules/redecls/b.h
deleted file mode 100644
index d41573ddc78..00000000000
--- a/clang/test/Modules/redecls/b.h
+++ /dev/null
@@ -1 +0,0 @@
-@class AA;
diff --git a/clang/test/Modules/redecls/main.m b/clang/test/Modules/redecls/main.m
deleted file mode 100644
index bf3788a96d8..00000000000
--- a/clang/test/Modules/redecls/main.m
+++ /dev/null
@@ -1,27 +0,0 @@
-// RUN: rm -rf %t.mcp
-// RUN: %clang_cc1 -fmodules -x objective-c -emit-module -fmodule-name=a %S/module.map -fmodules-cache-path=%t.mcp
-// RUN: %clang_cc1 -fmodules -x objective-c -emit-module -fmodule-name=b %S/module.map -fmodules-cache-path=%t.mcp
-// RUN: %clang_cc1 -fmodules %s -emit-pch -o %t1.pch -fmodules-cache-path=%t.mcp -I %S
-// RUN: %clang_cc1 -fmodules %s -emit-pch -o %t2.pch -include-pch %t1.pch -fmodules-cache-path=%t.mcp -I %S
-// RUN: %clang_cc1 -fmodules %s -fsyntax-only -include-pch %t2.pch -I %S -fmodules-cache-path=%t.mcp -verify
-
-#ifndef HEADER1
-#define HEADER1
-
-@import a;
-
-#elif !defined(HEADER2)
-#define HEADER2
-
-@class AA;
-@import b;
-
-#else
-
-// rdar://13712705
-@interface SS : AA
-@end
-
-#warning parsed this
-#endif
-// expected-warning@-2{{parsed this}}
diff --git a/clang/test/Modules/redecls/module.map b/clang/test/Modules/redecls/module.map
deleted file mode 100644
index a36568207b6..00000000000
--- a/clang/test/Modules/redecls/module.map
+++ /dev/null
@@ -1,2 +0,0 @@
-module a { header "a.h" }
-module b { header "b.h" }
OpenPOWER on IntegriCloud