diff options
Diffstat (limited to 'clang/test/Modules')
-rw-r--r-- | clang/test/Modules/Inputs/lookup_right.hpp | 1 | ||||
-rw-r--r-- | clang/test/Modules/compiler_builtins.m | 1 | ||||
-rw-r--r-- | clang/test/Modules/header-import.m | 1 | ||||
-rw-r--r-- | clang/test/Modules/inferred-submodules.m | 1 | ||||
-rw-r--r-- | clang/test/Modules/on-demand-macros.m | 1 | ||||
-rw-r--r-- | clang/test/Modules/redeclarations.m | 1 | ||||
-rw-r--r-- | clang/test/Modules/submodules.m | 1 | ||||
-rw-r--r-- | clang/test/Modules/templates.mm | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/lookup_right.hpp b/clang/test/Modules/Inputs/lookup_right.hpp index 884534747f6..b2611a1380c 100644 --- a/clang/test/Modules/Inputs/lookup_right.hpp +++ b/clang/test/Modules/Inputs/lookup_right.hpp @@ -1 +1,2 @@ float *f0(float*); +// expected-no-diagnostics diff --git a/clang/test/Modules/compiler_builtins.m b/clang/test/Modules/compiler_builtins.m index de6f57b5f28..d974dae52e0 100644 --- a/clang/test/Modules/compiler_builtins.m +++ b/clang/test/Modules/compiler_builtins.m @@ -1,5 +1,6 @@ // RUN: rm -rf %t // RUN: %clang -fsyntax-only -fmodules -fmodule-cache-path %t -D__need_wint_t %s -Xclang -verify +// expected-no-diagnostics #ifdef __SSE__ @__experimental_modules_import _Builtin_intrinsics.intel.sse; diff --git a/clang/test/Modules/header-import.m b/clang/test/Modules/header-import.m index 5444854a62b..49549d0c671 100644 --- a/clang/test/Modules/header-import.m +++ b/clang/test/Modules/header-import.m @@ -1,5 +1,6 @@ // RUN: rm -rf %t // RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -F %S/Inputs -I %S/Inputs -verify %s +// expected-no-diagnostics #import "point.h" @__experimental_modules_import Module; diff --git a/clang/test/Modules/inferred-submodules.m b/clang/test/Modules/inferred-submodules.m index bee1cec98e4..8c61bc081c2 100644 --- a/clang/test/Modules/inferred-submodules.m +++ b/clang/test/Modules/inferred-submodules.m @@ -1,5 +1,6 @@ // RUN: rm -rf %t // RUN: %clang_cc1 -x objective-c -Wauto-import -fmodule-cache-path %t -fmodules -F %S/Inputs %s -verify +// expected-no-diagnostics @__experimental_modules_import Module.Sub; diff --git a/clang/test/Modules/on-demand-macros.m b/clang/test/Modules/on-demand-macros.m index 2b8c5456eb6..8b50529f1a2 100644 --- a/clang/test/Modules/on-demand-macros.m +++ b/clang/test/Modules/on-demand-macros.m @@ -1,6 +1,7 @@ // RUN: rm -rf %t // RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -F %S/Inputs -DFOO_RETURNS_INT_PTR -verify %s // RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -F %S/Inputs -verify %s +// expected-no-diagnostics @__experimental_modules_import CmdLine; diff --git a/clang/test/Modules/redeclarations.m b/clang/test/Modules/redeclarations.m index 3f3e6954cc2..221e154cb27 100644 --- a/clang/test/Modules/redeclarations.m +++ b/clang/test/Modules/redeclarations.m @@ -8,4 +8,5 @@ // RUN: %clang_cc1 -fmodules -x objective-c -fmodule-cache-path %t -emit-module -fmodule-name=redeclarations_left %S/Inputs/module.map // RUN: %clang_cc1 -fmodules -x objective-c -fmodule-cache-path %t -emit-module -fmodule-name=redeclarations_right %S/Inputs/module.map // RUN: %clang_cc1 -fmodules -fmodule-cache-path %t %s -verify +// expected-no-diagnostics diff --git a/clang/test/Modules/submodules.m b/clang/test/Modules/submodules.m index e014bead73b..a758abc248d 100644 --- a/clang/test/Modules/submodules.m +++ b/clang/test/Modules/submodules.m @@ -1,6 +1,7 @@ // RUN: rm -rf %t // RUN: %clang_cc1 -Wauto-import -fmodule-cache-path %t -fmodules -F %S/Inputs %s -verify +// expected-no-diagnostics // Note: transitively imports Module.Sub2. @__experimental_modules_import Module.Sub; diff --git a/clang/test/Modules/templates.mm b/clang/test/Modules/templates.mm index e2d762c11e5..45417401d86 100644 --- a/clang/test/Modules/templates.mm +++ b/clang/test/Modules/templates.mm @@ -1,6 +1,7 @@ // RUN: rm -rf %t // RUN: %clang_cc1 -x objective-c++ -fmodules -fmodule-cache-path %t -I %S/Inputs -verify %s -Wno-objc-root-class // RUN: %clang_cc1 -x objective-c++ -fmodules -fmodule-cache-path %t -I %S/Inputs -emit-llvm %s -o - -Wno-objc-root-class | grep Emit | FileCheck %s +// expected-no-diagnostics @__experimental_modules_import templates_left; @__experimental_modules_import templates_right; |