[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / Misc / warning-wall.c
blob05a82770e26de69595374a64b25a81cea43b6e2c
1 RUN: diagtool tree -Wall > %t 2>&1
2 RUN: FileCheck --input-file=%t %s
4 CHECK:-Wall
5 CHECK-NEXT: -Wmost
6 CHECK-NEXT: -Warray-parameter
7 CHECK-NEXT: -Wbool-operation
8 CHECK-NEXT: -Wbitwise-instead-of-logical
9 CHECK-NEXT: -Wchar-subscripts
10 CHECK-NEXT: -Wcomment
11 CHECK-NEXT: -Wdelete-non-virtual-dtor
12 CHECK-NEXT: -Wdelete-non-abstract-non-virtual-dtor
13 CHECK-NEXT: -Wdelete-abstract-non-virtual-dtor
14 CHECK-NEXT: -Wformat
15 CHECK-NEXT: -Wformat-extra-args
16 CHECK-NEXT: -Wformat-zero-length
17 CHECK-NEXT: -Wnonnull
18 CHECK-NEXT: -Wformat-security
19 CHECK-NEXT: -Wformat-y2k
20 CHECK-NEXT: -Wformat-invalid-specifier
21 CHECK-NEXT: -Wformat-insufficient-args
22 CHECK-NEXT: -Wformat-overflow
23 CHECK-NEXT: -Wformat-overflow-non-kprintf
24 CHECK-NEXT: -Wformat-truncation
25 CHECK-NEXT: -Wformat-truncation-non-kprintf
26 CHECK-NEXT: -Wfor-loop-analysis
27 CHECK-NEXT: -Wframe-address
28 CHECK-NEXT: -Wimplicit
29 CHECK-NEXT: -Wimplicit-function-declaration
30 CHECK-NEXT: -Wimplicit-int
31 CHECK-NEXT: -Winfinite-recursion
32 CHECK-NEXT: -Wint-in-bool-context
33 CHECK-NEXT: -Wmismatched-tags
34 CHECK-NEXT: -Wmissing-braces
35 CHECK-NEXT: -Wmove
36 CHECK-NEXT: -Wpessimizing-move
37 CHECK-NEXT: -Wredundant-move
38 CHECK-NEXT: -Wreturn-std-move
39 CHECK-NEXT: -Wself-move
40 CHECK-NEXT: -Wmultichar
41 CHECK-NEXT: -Wrange-loop-construct
42 CHECK-NEXT: -Wreorder
43 CHECK-NEXT: -Wreorder-ctor
44 CHECK-NEXT: -Wreorder-init-list
45 CHECK-NEXT: -Wreturn-type
46 CHECK-NEXT: -Wreturn-type-c-linkage
47 CHECK-NEXT: -Wself-assign
48 CHECK-NEXT: -Wself-assign-overloaded
49 CHECK-NEXT: -Wself-assign-field
50 CHECK-NEXT: -Wself-move
51 CHECK-NEXT: -Wsizeof-array-argument
52 CHECK-NEXT: -Wsizeof-array-decay
53 CHECK-NEXT: -Wstring-plus-int
54 CHECK-NEXT: -Wtautological-compare
55 CHECK-NEXT: -Wtautological-constant-compare
56 CHECK-NEXT: -Wtautological-constant-out-of-range-compare
57 CHECK-NEXT: -Wtautological-pointer-compare
58 CHECK-NEXT: -Wtautological-overlap-compare
59 CHECK-NEXT: -Wtautological-bitwise-compare
60 CHECK-NEXT: -Wtautological-undefined-compare
61 CHECK-NEXT: -Wtautological-objc-bool-compare
62 CHECK-NEXT: -Wtautological-negation-compare
63 CHECK-NEXT: -Wtrigraphs
64 CHECK-NEXT: -Wuninitialized
65 CHECK-NEXT: -Wsometimes-uninitialized
66 CHECK-NEXT: -Wstatic-self-init
67 CHECK-NEXT: -Wuninitialized-const-reference
68 CHECK-NEXT: -Wunknown-pragmas
69 CHECK-NEXT: -Wunused
70 CHECK-NEXT: -Wunused-argument
71 CHECK-NEXT: -Wunused-function
72 CHECK-NEXT: -Wunneeded-internal-declaration
73 CHECK-NEXT: -Wunused-label
74 CHECK-NEXT: -Wunused-private-field
75 CHECK-NEXT: -Wunused-lambda-capture
76 CHECK-NEXT: -Wunused-local-typedef
77 CHECK-NEXT: -Wunused-value
78 CHECK-NEXT: -Wunused-comparison
79 CHECK-NEXT: -Wunused-result
80 CHECK-NEXT: -Wunevaluated-expression
81 CHECK-NEXT: -Wpotentially-evaluated-expression
82 CHECK-NEXT: -Wunused-variable
83 CHECK-NEXT: -Wunused-const-variable
84 CHECK-NEXT: -Wunused-but-set-variable
85 CHECK-NEXT: -Wunused-property-ivar
86 CHECK-NEXT: -Wvolatile-register-var
87 CHECK-NEXT: -Wobjc-missing-super-calls
88 CHECK-NEXT: -Wobjc-designated-initializers
89 CHECK-NEXT: -Wobjc-flexible-array
90 CHECK-NEXT: -Woverloaded-virtual
91 CHECK-NEXT: -Wprivate-extern
92 CHECK-NEXT: -Wcast-of-sel-type
93 CHECK-NEXT: -Wextern-c-compat
94 CHECK-NEXT: -Wuser-defined-warnings
95 CHECK-NEXT: -Wparentheses
96 CHECK-NEXT: -Wlogical-op-parentheses
97 CHECK-NEXT: -Wlogical-not-parentheses
98 CHECK-NEXT: -Wbitwise-conditional-parentheses
99 CHECK-NEXT: -Wbitwise-op-parentheses
100 CHECK-NEXT: -Wshift-op-parentheses
101 CHECK-NEXT: -Woverloaded-shift-op-parentheses
102 CHECK-NEXT: -Wparentheses-equality
103 CHECK-NEXT: -Wdangling-else
104 CHECK-NEXT: -Wswitch
105 CHECK-NEXT: -Wswitch-bool
106 CHECK-NEXT: -Wmisleading-indentation
107 CHECK-NEXT: -Wpacked-non-pod
108 CHECK-NEXT: -Wvla-cxx-extension
109 CHECK-NEXT: -Wvla-extension-static-assert
111 CHECK-NOT:-W