summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules
diff options
context:
space:
mode:
authorVassil Vassilev <v.g.vassilev@gmail.com>2016-10-11 15:51:06 +0000
committerVassil Vassilev <v.g.vassilev@gmail.com>2016-10-11 15:51:06 +0000
commitf6b491041f8479fc39365a2ec3ddd8161afc83c8 (patch)
treeaa577bfd81476f678f5f0fd2597dc8bce5f869ba /clang/test/Modules
parentb67948f4972801e4ba31a26606be50cd1eefbe21 (diff)
downloadbcm5719-llvm-f6b491041f8479fc39365a2ec3ddd8161afc83c8.tar.gz
bcm5719-llvm-f6b491041f8479fc39365a2ec3ddd8161afc83c8.zip
Revert r283887 and r283882, until the issue is understood and fixed.
llvm-svn: 283890
Diffstat (limited to 'clang/test/Modules')
-rw-r--r--clang/test/Modules/Inputs/PR28752/Subdir1/b.h1
-rw-r--r--clang/test/Modules/Inputs/PR28752/Subdir1/c.h0
-rw-r--r--clang/test/Modules/Inputs/PR28752/Subdir1/module.modulemap5
-rw-r--r--clang/test/Modules/Inputs/PR28752/a.h1
-rw-r--r--clang/test/Modules/Inputs/PR28752/module.modulemap1
-rw-r--r--clang/test/Modules/Inputs/PR28752/vector28
-rw-r--r--clang/test/Modules/pr28752.cpp19
7 files changed, 0 insertions, 55 deletions
diff --git a/clang/test/Modules/Inputs/PR28752/Subdir1/b.h b/clang/test/Modules/Inputs/PR28752/Subdir1/b.h
deleted file mode 100644
index 3b3a25f213f..00000000000
--- a/clang/test/Modules/Inputs/PR28752/Subdir1/b.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <vector>
diff --git a/clang/test/Modules/Inputs/PR28752/Subdir1/c.h b/clang/test/Modules/Inputs/PR28752/Subdir1/c.h
deleted file mode 100644
index e69de29bb2d..00000000000
--- a/clang/test/Modules/Inputs/PR28752/Subdir1/c.h
+++ /dev/null
diff --git a/clang/test/Modules/Inputs/PR28752/Subdir1/module.modulemap b/clang/test/Modules/Inputs/PR28752/Subdir1/module.modulemap
deleted file mode 100644
index 8d3bfe996f5..00000000000
--- a/clang/test/Modules/Inputs/PR28752/Subdir1/module.modulemap
+++ /dev/null
@@ -1,5 +0,0 @@
-module b {
- module "b.h" { header "b.h" export * }
- module "c.h" { header "c.h" export * }
- export *
-}
diff --git a/clang/test/Modules/Inputs/PR28752/a.h b/clang/test/Modules/Inputs/PR28752/a.h
deleted file mode 100644
index 3b3a25f213f..00000000000
--- a/clang/test/Modules/Inputs/PR28752/a.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <vector>
diff --git a/clang/test/Modules/Inputs/PR28752/module.modulemap b/clang/test/Modules/Inputs/PR28752/module.modulemap
deleted file mode 100644
index caf888fc474..00000000000
--- a/clang/test/Modules/Inputs/PR28752/module.modulemap
+++ /dev/null
@@ -1 +0,0 @@
-module a { header "a.h" export * }
diff --git a/clang/test/Modules/Inputs/PR28752/vector b/clang/test/Modules/Inputs/PR28752/vector
deleted file mode 100644
index fc5dafae1f9..00000000000
--- a/clang/test/Modules/Inputs/PR28752/vector
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef VECTOR
-#define VECTOR
-template <bool, typename> struct B;
-template <typename _Tp> struct B<true, _Tp> { typedef _Tp type; };
-namespace std {
-template <typename> struct D {
-
- template <typename _Alloc2> struct F {
- static const bool value = 0;
- };
-
- template <typename _Alloc2>
- typename B<F<_Alloc2>::value, _Alloc2>::type _S_select(_Alloc2);
- template <typename _Alloc2>
- static
- typename B<!F<_Alloc2>::value, _Alloc2>::type _S_select(_Alloc2);
-};
-template <typename _Alloc>
-template <typename _Alloc2>
-const bool D<_Alloc>::F<_Alloc2>::value;
-
-template <typename> class vector {
-public:
- vector(int);
- vector(vector &) : vector(D<bool>::_S_select((bool)0)) {}
-};
-}
-#endif // VECTOR \ No newline at end of file
diff --git a/clang/test/Modules/pr28752.cpp b/clang/test/Modules/pr28752.cpp
deleted file mode 100644
index e73a54b89eb..00000000000
--- a/clang/test/Modules/pr28752.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
-// RUN: rm -rf %t
-// RUN: %clang_cc1 -std=c++11 -nostdsysteminc -I%S/Inputs/PR28752 -verify %s
-// RUN: %clang_cc1 -std=c++11 -nostdsysteminc -fmodules -fmodule-map-file=%S/Inputs/PR28752/Subdir1/module.modulemap -fmodule-map-file=%S/Inputs/PR28752/module.modulemap -fmodules-cache-path=%t -I%S/Inputs/PR28752 -I%S/Inputs/PR28752/Subdir1 -verify %s
-
-#include "a.h"
-#include "Subdir1/c.h"
-#include <vector>
-
-class TClingClassInfo {
- std::vector<int> fIterStack;
-};
-
-TClingClassInfo *a;
-class TClingBaseClassInfo {
- TClingBaseClassInfo() { new TClingClassInfo(*a); }
-};
-
-// expected-no-diagnostics
-
OpenPOWER on IntegriCloud