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