Lines Matching full:warning
48 __pragma(warning(push)); \
49 __pragma(warning(disable: 10000)); \
51 __pragma(warning(pop)); \
56 __pragma() // expected-warning{{unknown pragma ignored}} in f()
59 // If we ever actually *support* __pragma(warning(disable: x)), in f()
60 // this warning should go away. in f()
61 MACRO_WITH__PRAGMA // expected-warning {{lower precedence}} \ in f()
63 // CHECK: #pragma warning(push) in f()
64 // CHECK: #pragma warning(disable: 10000) in f()
66 // CHECK: #pragma warning(pop) in f()
78 #pragma include_alias(<bar.h>, "bar.h") // expected-warning {{angle-bracketed include <bar.h> canno…
79 #pragma include_alias("foo.h", <bar.h>) // expected-warning {{double-quoted include "foo.h" cannot …
80 #pragma include_alias("test.h") // expected-warning {{pragma include_alias expected ','}}
87 #pragma include_alias(12) // expected-warning {{pragma include_alias expected include filename}}
112 // Test that we ignore pragma warning.
113 #pragma warning(push)
114 // CHECK: #pragma warning(push)
115 #pragma warning(push, 1)
116 // CHECK: #pragma warning(push, 1)
117 #pragma warning(disable : 4705)
118 // CHECK: #pragma warning(disable: 4705)
119 #pragma warning(disable : 123 456 789 ; error : 321)
120 // CHECK: #pragma warning(disable: 123 456 789)
121 // CHECK: #pragma warning(error: 321)
122 #pragma warning(once : 321)
123 // CHECK: #pragma warning(once: 321)
124 #pragma warning(suppress : 321)
125 // CHECK: #pragma warning(suppress: 321)
126 #pragma warning(default : 321)
127 // CHECK: #pragma warning(default: 321)
128 #pragma warning(pop)
129 // CHECK: #pragma warning(pop)
130 #pragma warning(1: 123)
131 // CHECK: #pragma warning(1: 123)
132 #pragma warning(2: 234 567)
133 // CHECK: #pragma warning(2: 234 567)
134 #pragma warning(3: 123; 4: 678)
135 // CHECK: #pragma warning(3: 123)
136 // CHECK: #pragma warning(4: 678)
137 #pragma warning(5: 123) // expected-warning {{expected 'push', 'pop', 'default', 'disable', 'error'…
139 #pragma warning(push, 0)
140 // CHECK: #pragma warning(push, 0)
141 // FIXME: We could probably support pushing warning level 0.
142 #pragma warning(pop)
143 // CHECK: #pragma warning(pop)
145 #pragma warning // expected-warning {{expected '('}}
146 #pragma warning( // expected-warning {{expected 'push', 'pop', 'default', 'disable', 'error', 'on…
147 #pragma warning() // expected-warning {{expected 'push', 'pop', 'default', 'disable', 'error', 'o…
148 #pragma warning(push 4) // expected-warning {{expected ')'}}
149 // CHECK: #pragma warning(push)
150 #pragma warning(push // expected-warning {{expected ')'}}
151 // CHECK: #pragma warning(push)
152 #pragma warning(push, 5) // expected-warning {{requires a level between 0 and 4}}
153 #pragma warning(pop, 1) // expected-warning {{expected ')'}}
154 // CHECK: #pragma warning(pop)
155 #pragma warning(push, 1) asdf // expected-warning {{extra tokens at end of #pragma warning directiv…
156 // CHECK: #pragma warning(push, 1)
157 #pragma warning(disable 4705) // expected-warning {{expected ':'}}
158 #pragma warning(disable : 0) // expected-warning {{expected a warning number}}
159 #pragma warning(default 321) // expected-warning {{expected ':'}}
160 #pragma warning(asdf : 321) // expected-warning {{expected 'push', 'pop'}}
161 #pragma warning(push, -1) // expected-warning {{requires a level between 0 and 4}}
164 #pragma runtime_checks("sc", restore) // no-warning