Lines Matching +full:- +full:werror
1 // RUN: rm -rf %t
5 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \
6 // RUN: -fmodules-cache-path=%t -F %S/Inputs/require-modular-includes \
7 // RUN: -Werror -fsyntax-only -x objective-c -
9 // Including a non-modular header
11 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \
12 // RUN: -fmodules-cache-path=%t -F %S/Inputs/require-modular-includes \
13 // RUN: -I %S/Inputs/require-modular-includes \
14 // RUN: -fsyntax-only -x objective-c - 2>&1 | FileCheck %s
18 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \
19 // RUN: -fmodules-cache-path=%t -F %S/Inputs/require-modular-includes \
20 // RUN: -Werror -fsyntax-only -x objective-c -
24 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \
25 // RUN: -fmodules-cache-path=%t -F %S/Inputs/require-modular-includes \
26 // RUN: -I %S/Inputs/require-modular-includes \
27 // RUN: -fsyntax-only -x objective-c - 2>&1 | FileCheck %s
29 // Including a non-modular header from a submodule
31 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \
32 // RUN: -fmodules-cache-path=%t -F %S/Inputs/require-modular-includes \
33 // RUN: -I %S/Inputs/require-modular-includes \
34 // RUN: -fsyntax-only -x objective-c - 2>&1 | FileCheck %s
36 // Including a non-modular header (directly) with -fmodule-name set
38 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \
39 // RUN: -fmodules-cache-path=%t -I %S/Inputs/require-modular-includes \
40 // RUN: -Werror -fmodule-name=A -fsyntax-only -x objective-c -
44 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \
45 // RUN: -fmodules-cache-path=%t -F %S/Inputs/require-modular-includes \
46 // RUN: -Werror -fsyntax-only -x objective-c -
50 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \
51 // RUN: -fmodules-cache-path=%t -F %S/Inputs/require-modular-includes \
52 // RUN: -I %S/Inputs/require-modular-includes \
53 // RUN: -Werror -fsyntax-only -x objective-c -
57 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \
58 // RUN: -fmodules-cache-path=%t -F %S/Inputs/require-modular-includes \
59 // RUN: -I %S/Inputs/require-modular-includes \
60 // RUN: -Werror -fsyntax-only -x objective-c -
64 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \
65 // RUN: -fmodules-cache-path=%t -F %S/Inputs/require-modular-includes \
66 // RUN: -I %S/Inputs/require-modular-includes \
67 // RUN: -Werror -fsyntax-only -x objective-c -
69 // A includes B includes non-modular C
71 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \
72 // RUN: -fmodules-cache-path=%t -F %S/Inputs/require-modular-includes \
73 // RUN: -I %S/Inputs/require-modular-includes \
74 // RUN: -fsyntax-only -x objective-c - 2>&1 | FileCheck %s
76 // Non-framework module (pass)
78 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \
79 // RUN: -fmodules-cache-path=%t -I %S/Inputs/require-modular-includes \
80 // RUN: -Werror -fsyntax-only -x objective-c -
82 // CHECK: include of non-modular header