diff options
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/Modules/Inputs/system-out-of-date/X.h | 1 | ||||
-rw-r--r-- | clang/test/Modules/Inputs/system-out-of-date/Y.h | 1 | ||||
-rw-r--r-- | clang/test/Modules/Inputs/system-out-of-date/Z.h | 1 | ||||
-rw-r--r-- | clang/test/Modules/Inputs/system-out-of-date/module.map | 12 | ||||
-rw-r--r-- | clang/test/Modules/Inputs/warning-mismatch/Mismatch.h | 1 | ||||
-rw-r--r-- | clang/test/Modules/Inputs/warning-mismatch/System.h | 2 | ||||
-rw-r--r-- | clang/test/Modules/Inputs/warning-mismatch/module.modulemap | 7 | ||||
-rw-r--r-- | clang/test/Modules/outofdate-rebuild.m | 15 | ||||
-rw-r--r-- | clang/test/Modules/system-out-of-date-test.m | 17 | ||||
-rw-r--r-- | clang/test/Modules/warning-mismatch.m | 13 |
10 files changed, 0 insertions, 70 deletions
diff --git a/clang/test/Modules/Inputs/system-out-of-date/X.h b/clang/test/Modules/Inputs/system-out-of-date/X.h deleted file mode 100644 index edcfa18f5af..00000000000 --- a/clang/test/Modules/Inputs/system-out-of-date/X.h +++ /dev/null @@ -1 +0,0 @@ -#import <Y.h> diff --git a/clang/test/Modules/Inputs/system-out-of-date/Y.h b/clang/test/Modules/Inputs/system-out-of-date/Y.h deleted file mode 100644 index 90fe1bcc585..00000000000 --- a/clang/test/Modules/Inputs/system-out-of-date/Y.h +++ /dev/null @@ -1 +0,0 @@ -//empty diff --git a/clang/test/Modules/Inputs/system-out-of-date/Z.h b/clang/test/Modules/Inputs/system-out-of-date/Z.h deleted file mode 100644 index edcfa18f5af..00000000000 --- a/clang/test/Modules/Inputs/system-out-of-date/Z.h +++ /dev/null @@ -1 +0,0 @@ -#import <Y.h> diff --git a/clang/test/Modules/Inputs/system-out-of-date/module.map b/clang/test/Modules/Inputs/system-out-of-date/module.map deleted file mode 100644 index 0c0f42a5d01..00000000000 --- a/clang/test/Modules/Inputs/system-out-of-date/module.map +++ /dev/null @@ -1,12 +0,0 @@ -module X [system] { - header "X.h" // imports Y - export * -} -module Y { - header "Y.h" - export * -} -module Z { - header "Z.h" // imports Y - export * -} diff --git a/clang/test/Modules/Inputs/warning-mismatch/Mismatch.h b/clang/test/Modules/Inputs/warning-mismatch/Mismatch.h deleted file mode 100644 index a07b0ee31ea..00000000000 --- a/clang/test/Modules/Inputs/warning-mismatch/Mismatch.h +++ /dev/null @@ -1 +0,0 @@ -struct Mismatch { int i; }; diff --git a/clang/test/Modules/Inputs/warning-mismatch/System.h b/clang/test/Modules/Inputs/warning-mismatch/System.h deleted file mode 100644 index 8e69e704c75..00000000000 --- a/clang/test/Modules/Inputs/warning-mismatch/System.h +++ /dev/null @@ -1,2 +0,0 @@ -#import "Mismatch.h" -struct System { int i; }; diff --git a/clang/test/Modules/Inputs/warning-mismatch/module.modulemap b/clang/test/Modules/Inputs/warning-mismatch/module.modulemap deleted file mode 100644 index c22cde45978..00000000000 --- a/clang/test/Modules/Inputs/warning-mismatch/module.modulemap +++ /dev/null @@ -1,7 +0,0 @@ -module System [system] { - header "System.h" -} - -module Mismatch { - header "Mismatch.h" -} diff --git a/clang/test/Modules/outofdate-rebuild.m b/clang/test/Modules/outofdate-rebuild.m deleted file mode 100644 index 510325f62dc..00000000000 --- a/clang/test/Modules/outofdate-rebuild.m +++ /dev/null @@ -1,15 +0,0 @@ -// RUN: rm -rf %t.cache -// RUN: echo "@import CoreText;" > %t.m -// RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t.cache \ -// RUN: -fmodules -fimplicit-module-maps -I%S/Inputs/outofdate-rebuild %s \ -// RUN: -fsyntax-only -// RUN: %clang_cc1 -DMISMATCH -Werror -fdisable-module-hash \ -// RUN: -fmodules-cache-path=%t.cache -fmodules -fimplicit-module-maps \ -// RUN: -I%S/Inputs/outofdate-rebuild %t.m -fsyntax-only -// RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t.cache \ -// RUN: -fmodules -fimplicit-module-maps -I%S/Inputs/outofdate-rebuild %s \ -// RUN: -fsyntax-only - -// This testcase reproduces a use-after-free in when ModuleManager removes an -// entry from the PCMCache without notifying its parent ASTReader. -@import Cocoa; diff --git a/clang/test/Modules/system-out-of-date-test.m b/clang/test/Modules/system-out-of-date-test.m deleted file mode 100644 index e78df7b3b3e..00000000000 --- a/clang/test/Modules/system-out-of-date-test.m +++ /dev/null @@ -1,17 +0,0 @@ -// RUN: rm -rf %t.cache -// RUN: echo '@import X;' | \ -// RUN: %clang_cc1 -fmodules -fimplicit-module-maps \ -// RUN: -fmodules-cache-path=%t.cache -I%S/Inputs/system-out-of-date \ -// RUN: -fsyntax-only -x objective-c - -// -// Build something with different diagnostic options. -// RUN: %clang_cc1 -fmodules -fimplicit-module-maps \ -// RUN: -fmodules-cache-path=%t.cache -I%S/Inputs/system-out-of-date \ -// RUN: -fsyntax-only %s -Wnon-modular-include-in-framework-module \ -// RUN: -Werror=non-modular-include-in-framework-module 2>&1 \ -// RUN: | FileCheck %s -@import X; - -#import <Z.h> -// CHECK: While building module 'Z' imported from -// CHECK: {{.*}}Y-{{.*}}pcm' was validated as a system module and is now being imported as a non-system module diff --git a/clang/test/Modules/warning-mismatch.m b/clang/test/Modules/warning-mismatch.m deleted file mode 100644 index dd7c7f82ec6..00000000000 --- a/clang/test/Modules/warning-mismatch.m +++ /dev/null @@ -1,13 +0,0 @@ -// RUN: rm -rf %t.cache -// RUN: echo "@import Mismatch;" >%t.m -// RUN: %clang_cc1 -Wno-system-headers -fdisable-module-hash \ -// RUN: -fmodules-cache-path=%t.cache -fmodules -fimplicit-module-maps \ -// RUN: -I%S/Inputs/warning-mismatch %t.m -fsyntax-only -// RUN: %clang_cc1 -Wsystem-headers -fdisable-module-hash \ -// RUN: -fmodules-cache-path=%t.cache -fmodules -fimplicit-module-maps \ -// RUN: -I%S/Inputs/warning-mismatch %s -fsyntax-only - -// This testcase triggers a warning flag mismatch in an already validated -// header. -@import Mismatch; -@import System; |