Lines Matching refs:diag

107            diag::ext_nonstandard_escape) << "e";  in ProcessCharEscape()
113 diag::ext_nonstandard_escape) << "E"; in ProcessCharEscape()
136 diag::err_hex_escape_no_digits) << "x"; in ProcessCharEscape()
162 diag::err_hex_escape_too_large); in ProcessCharEscape()
185 diag::err_octal_escape_too_large); in ProcessCharEscape()
196 diag::ext_nonstandard_escape) in ProcessCharEscape()
205 diag::ext_unknown_escape) in ProcessCharEscape()
209 diag::ext_unknown_escape) in ProcessCharEscape()
275 diag::err_hex_escape_no_digits) << StringRef(&ThisTokBuf[-1], 1); in ProcessUCNEscape()
290 diag::err_ucn_escape_incomplete); in ProcessUCNEscape()
299 diag::err_ucn_escape_invalid); in ProcessUCNEscape()
312 IsError ? diag::err_ucn_escape_basic_scs : in ProcessUCNEscape()
313 diag::warn_cxx98_compat_literal_ucn_escape_basic_scs) in ProcessUCNEscape()
317 IsError ? diag::err_ucn_control_character : in ProcessUCNEscape()
318 diag::warn_cxx98_compat_literal_ucn_control_character); in ProcessUCNEscape()
326 diag::warn_ucn_not_valid_in_c89_literal); in ProcessUCNEscape()
541 diag::err_invalid_decimal_digit) << StringRef(s, 1); in NumericLiteralParser()
563 diag::err_exponent_has_no_digits); in NumericLiteralParser()
686 isFPConstant ? diag::err_invalid_suffix_float_constant : in NumericLiteralParser()
687 diag::err_invalid_suffix_integer_constant) in NumericLiteralParser()
696 diag::ext_imaginary_constant); in NumericLiteralParser()
737 diag::err_digit_separator_not_between_digits) in checkSeparator()
773 diag::err_hexconstant_requires_digits); in ParseNumberStartingWithZero()
789 diag::err_exponent_has_no_digits); in ParseNumberStartingWithZero()
797 PP.Diag(TokLoc, diag::ext_hexconstant_invalid); in ParseNumberStartingWithZero()
800 diag::err_hexconstant_requires_exponent); in ParseNumberStartingWithZero()
811 ? diag::warn_cxx11_compat_binary_literal in ParseNumberStartingWithZero()
813 ? diag::ext_binary_literal_cxx14 in ParseNumberStartingWithZero()
814 : diag::ext_binary_literal); in ParseNumberStartingWithZero()
824 diag::err_invalid_binary_digit) << StringRef(s, 1); in ParseNumberStartingWithZero()
854 diag::err_invalid_octal_digit) << StringRef(s, 1); in ParseNumberStartingWithZero()
879 diag::err_exponent_has_no_digits); in ParseNumberStartingWithZero()
1105 unsigned Msg = diag::err_bad_character_encoding; in CharLiteralParser()
1107 Msg = diag::warn_bad_character_encoding; in CharLiteralParser()
1121 PP.Diag(Loc, diag::err_character_too_large); in CharLiteralParser()
1137 PP.Diag(Loc, diag::err_character_too_large); in CharLiteralParser()
1155 PP.Diag(Loc, diag::warn_extraneous_char_constant); in CharLiteralParser()
1157 PP.Diag(Loc, diag::ext_four_char_character_literal); in CharLiteralParser()
1159 PP.Diag(Loc, diag::ext_multichar_character_literal); in CharLiteralParser()
1161 PP.Diag(Loc, diag::err_multichar_utf_character_literal); in CharLiteralParser()
1186 PP.Diag(Loc, diag::warn_char_constant_too_large); in CharLiteralParser()
1306 diag::err_unsupported_string_concat); in init()
1387 Diags->Report(TokLoc, diag::err_string_concat_mixed_suffix) in init()
1516 diag::err_pascal_string_too_long) in init()
1528 diag::ext_string_too_long) in init()
1571 NoErrorOnBadEncoding ? diag::warn_bad_string_encoding in CopyStringFragment()
1572 : diag::err_bad_string_encoding); in CopyStringFragment()
1596 Diags->Report(Loc, diag::err_lexing_string); in DiagnoseLexingError()