# Changeset View

Changeset View

# Standalone View

Standalone View

# include/clang/Basic/DiagnosticSemaKinds.td

- This file is larger than 256 KB, so syntax highlighting is disabled by default.

Show First 20 Lines • Show All 197 Lines • ▼ Show 20 Line(s) | 197 | def warn_duplicate_declspec : Warning<"duplicate '%0' declaration specifier">, | |||
---|---|---|---|---|---|

198 | InGroup<DuplicateDeclSpecifier>; | 198 | InGroup<DuplicateDeclSpecifier>; | ||

199 | def ext_plain_complex : ExtWarn< | 199 | def ext_plain_complex : ExtWarn< | ||

200 | "plain '_Complex' requires a type specifier; assuming '_Complex double'">; | 200 | "plain '_Complex' requires a type specifier; assuming '_Complex double'">; | ||

201 | def ext_imaginary_constant : Extension< | 201 | def ext_imaginary_constant : Extension< | ||

202 | "imaginary constants are a GNU extension">, InGroup<GNUImaginaryConstant>; | 202 | "imaginary constants are a GNU extension">, InGroup<GNUImaginaryConstant>; | ||

203 | def ext_integer_complex : Extension< | 203 | def ext_integer_complex : Extension< | ||

204 | "complex integer types are a GNU extension">, InGroup<GNUComplexInteger>; | 204 | "complex integer types are a GNU extension">, InGroup<GNUComplexInteger>; | ||

205 | 205 | | |||

206 | def err_invalid_saturation_spec : Error<"'_Sat' specifier is only valid on " | ||||

ebevhan: This error should be reworded.
Perhaps `'_Sat' specifier is only valid on '_Fract' or '_Accum'… | |||||

207 | "'_Fract' or '_Accum', not '%0'">; | ||||

206 | def err_invalid_sign_spec : Error<"'%0' cannot be signed or unsigned">; | 208 | def err_invalid_sign_spec : Error<"'%0' cannot be signed or unsigned">; | ||

207 | def err_invalid_width_spec : Error< | 209 | def err_invalid_width_spec : Error< | ||

208 | "'%select{|short|long|long long}0 %1' is invalid">; | 210 | "'%select{|short|long|long long}0 %1' is invalid">; | ||

209 | def err_invalid_complex_spec : Error<"'_Complex %0' is invalid">; | 211 | def err_invalid_complex_spec : Error<"'_Complex %0' is invalid">; | ||

210 | def err_friend_decl_spec : Error<"'%0' is invalid in friend declarations">; | 212 | def err_friend_decl_spec : Error<"'%0' is invalid in friend declarations">; | ||

211 | 213 | | |||

212 | def ext_auto_type_specifier : ExtWarn< | 214 | def ext_auto_type_specifier : ExtWarn< | ||

213 | "'auto' type specifier is a C++11 extension">, InGroup<CXX11>; | 215 | "'auto' type specifier is a C++11 extension">, InGroup<CXX11>; | ||

▲ Show 20 Lines • Show All 9100 Lines • Show Last 20 Lines |

This error should be reworded.

Perhaps

'_Sat' specifier is only valid on '_Fract' or '_Accum', not '%0'.