Lines Matching full:no

1 // RUN: %clang_cc1 -x c++ -verify=no-inf-no-nan \
3 // RUN: -menable-no-infs -menable-no-nans -std=c++23
5 // RUN: %clang_cc1 -x c++ -verify=no-inf-no-nan \
7 // RUN: -menable-no-infs -menable-no-nans -funsafe-math-optimizations \
10 // RUN: %clang_cc1 -x c++ -verify=no-fast -triple powerpc64le-unknown-unknown \
13 // RUN: %clang_cc1 -x c++ -verify=no-inf -triple powerpc64le-unknown-unknown %s \
14 // RUN: -menable-no-infs -std=c++23
16 // RUN: %clang_cc1 -x c++ -verify=no-inf -triple powerpc64le-unknown-unknown %s \
17 // RUN: -menable-no-infs -funsafe-math-optimizations -std=c++23
19 // RUN: %clang_cc1 -x c++ -verify=no-nan -triple powerpc64le-unknown-unknown %s \
20 // RUN: -menable-no-nans -std=c++23
22 // RUN: %clang_cc1 -x c++ -verify=no-nan -triple powerpc64le-unknown-unknown %s \
23 // RUN: -funsafe-math-optimizations -menable-no-nans -std=c++23
25 // RUN: %clang_cc1 -x c++ -verify=no-fast -triple powerpc64le-unknown-unknown \
26 // RUN: %s -Wno-nan-infinity-disabled -menable-no-infs -std=c++23
28 // RUN: %clang_cc1 -x c++ -verify=no-fast -triple powerpc64le-unknown-unknown \
29 // RUN: %s -Wno-nan-infinity-disabled -menable-no-nans -std=c++23
31 // no-fast-no-diagnostics
118 // no-inf-no-nan-warning@+4 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
119 // no-inf-no-nan-warning@+3 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}}
120 // no-inf-warning@+2 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
121 // no-inf-warning@+1 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}}
124 // no-inf-no-nan-warning@+4 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
125 // no-inf-no-nan-warning@+3 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}}
126 // no-inf-warning@+2 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
127 // no-inf-warning@+1 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}}
130 // no-inf-no-nan-warning@+4 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
131 // no-inf-no-nan-warning@+3 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}}
132 // no-nan-warning@+2 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}}
133 // no-nan-warning@+1 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
136 // no-inf-no-nan-warning@+4 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}}
137 // no-inf-no-nan-warning@+3 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
138 // no-nan-warning@+2 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
139 // no-nan-warning@+1 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}}
142 // no-inf-no-nan-warning@+4 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
143 // no-inf-no-nan-warning@+3 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}}
144 // no-inf-warning@+2 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
145 // no-inf-warning@+1 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}}
148 // no-inf-no-nan-warning@+4 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
149 // no-inf-no-nan-warning@+3 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}}
150 // no-inf-warning@+2 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
151 // no-inf-warning@+1 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}}
154 // no-inf-no-nan-warning@+4 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}}
155 // no-inf-no-nan-warning@+3 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
156 // no-nan-warning@+2 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}}
157 // no-nan-warning@+1 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
160 // no-inf-no-nan-warning@+4 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}}
161 // no-inf-no-nan-warning@+3 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
162 // no-nan-warning@+2 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
163 // no-nan-warning@+1 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}}
166 // no-inf-no-nan-warning@+2 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
167 // no-inf-warning@+1 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
170 // no-inf-no-nan-warning@+2 {{use of NaN is undefined behavior due to the currently enabled floating-point option}}
171 // no-nan-warning@+1 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
174 // no-inf-no-nan-warning@+2 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
175 // no-inf-warning@+1 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
178 // no-inf-no-nan-warning@+2 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
179 // no-inf-warning@+1 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
182 // no-inf-no-nan-warning@+2 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
183 // no-nan-warning@+1 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
186 // no-inf-no-nan-warning@+2 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
187 // no-inf-warning@+1 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
225 // no-inf-no-nan-warning@+4 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}}
226 // no-inf-no-nan-warning@+3 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
227 // no-nan-warning@+2 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}}
228 // no-nan-warning@+1 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
231 // no-inf-no-nan-warning@+4 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
232 // no-inf-no-nan-warning@+3 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}}
233 // no-inf-warning@+2 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
234 // no-inf-warning@+1 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}}
237 // no-inf-no-nan-warning@+6 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}}
238 // no-inf-no-nan-warning@+5 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
239 // no-inf-no-nan-warning@+4 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
240 // no-nan-warning@+3 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}}
241 // no-nan-warning@+2 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
242 // no-nan-warning@+1 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
245 // no-inf-no-nan-warning@+6 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
246 // no-inf-no-nan-warning@+5 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}}
247 // no-inf-no-nan-warning@+4 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
248 // no-inf-warning@+3 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}}
249 // no-inf-warning@+2 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
250 // no-nan-warning@+1 {{use of NaN is undefined behavior due to the currently enabled floating-point options}}
253 // no-inf-no-nan-warning@+2 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
254 // no-inf-warning@+1 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
257 y = i * numeric_limits<double>::infinity(); // expected-no-diagnostics
259 // no-inf-no-nan-warning@+2 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
260 // no-inf-warning@+1 {{use of infinity is undefined behavior due to the currently enabled floating-point options}}
263 j = numeric_limits<float>::infinity(); // expected-no-diagnostics
265 y = infinity(); // expected-no-diagnostics