diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-10-23 02:02:31 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-10-23 02:02:31 +0000 |
| commit | 30428bc844f780f686e90ed29bb5c821146c6db6 (patch) | |
| tree | 29ec844f7199c3237c1e1275f1626e4546dee30c | |
| parent | feb54b6ded123f8118fdc20620d3f657dfeab485 (diff) | |
| download | bcm5719-llvm-30428bc844f780f686e90ed29bb5c821146c6db6.tar.gz bcm5719-llvm-30428bc844f780f686e90ed29bb5c821146c6db6.zip | |
Revert accidentally-committed files in r220460.
llvm-svn: 220461
| -rw-r--r-- | clang/test/Modules/Inputs/declare-use/m.h | 8 | ||||
| -rw-r--r-- | clang/test/Modules/Inputs/declare-use/m2.h | 1 | ||||
| -rw-r--r-- | clang/test/Modules/Inputs/declare-use/module.map | 5 | ||||
| -rw-r--r-- | clang/test/Modules/textual-headers.cpp | 9 |
4 files changed, 1 insertions, 22 deletions
diff --git a/clang/test/Modules/Inputs/declare-use/m.h b/clang/test/Modules/Inputs/declare-use/m.h deleted file mode 100644 index e9089ab725d..00000000000 --- a/clang/test/Modules/Inputs/declare-use/m.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifdef GIMME_AN_M - -#ifndef M_H -#define M_H -const int m = 42; -#endif - -#endif diff --git a/clang/test/Modules/Inputs/declare-use/m2.h b/clang/test/Modules/Inputs/declare-use/m2.h deleted file mode 100644 index 9e72835c3bc..00000000000 --- a/clang/test/Modules/Inputs/declare-use/m2.h +++ /dev/null @@ -1 +0,0 @@ -#include "m.h" diff --git a/clang/test/Modules/Inputs/declare-use/module.map b/clang/test/Modules/Inputs/declare-use/module.map index ae8615278ac..c6c6c951bd0 100644 --- a/clang/test/Modules/Inputs/declare-use/module.map +++ b/clang/test/Modules/Inputs/declare-use/module.map @@ -61,10 +61,5 @@ module XL { textual header "l.h" } -module XM { - private textual header "m.h" - textual header "m2.h" -} - module XS { } diff --git a/clang/test/Modules/textual-headers.cpp b/clang/test/Modules/textual-headers.cpp index 54078999bd5..d1be8ad0321 100644 --- a/clang/test/Modules/textual-headers.cpp +++ b/clang/test/Modules/textual-headers.cpp @@ -1,6 +1,6 @@ // RUN: rm -rf %t // RUN: %clang_cc1 -fmodule-maps -fmodules-cache-path=%t -fmodules-strict-decluse -fmodule-name=XG -I %S/Inputs/declare-use %s -verify -// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fmodules-strict-decluse -fmodule-name=XG -I %S/Inputs/declare-use %s -verify -fmodules-no-error-recovery +// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fmodules-strict-decluse -fmodule-name=XG -I %S/Inputs/declare-use %s -verify #define GIMME_A_K #include "k.h" @@ -8,11 +8,4 @@ #define GIMME_AN_L #include "l.h" // expected-error {{module XG does not depend on a module exporting 'l.h'}} -#include "m2.h" // expected-error {{module XG does not depend on a module exporting 'm2.h'}} -const int use_m = m; - -#define GIMME_AN_M -#include "m.h" -const int use_m_2 = m; - const int g = k + l; |

