Lines Matching refs:diag
436 PP.Diag(Tok, diag::err_expected) << tok::l_brace; in HandlePragmaCaptured()
486 PP.Diag(NameLoc, diag::warn_pragma_extension_is_core) << ename; \ in HandlePragmaOpenCLExtension()
488 PP.Diag(NameLoc, diag::warn_pragma_unsupported_extension) << ename; in HandlePragmaOpenCLExtension()
491 PP.Diag(NameLoc, diag::warn_pragma_unknown_extension) << ename; in HandlePragmaOpenCLExtension()
549 PP.Diag(PragmaLocation, diag::warn_pragma_expected_lparen) << PragmaName; in HandlePragmaMSSection()
555 PP.Diag(PragmaLocation, diag::warn_pragma_expected_section_name) in HandlePragmaMSSection()
564 PP.Diag(PragmaLocation, diag::warn_pragma_expected_non_wide_string) in HandlePragmaMSSection()
581 PP.Diag(PragmaLocation, diag::warn_pragma_expected_action_or_r_paren) in HandlePragmaMSSection()
599 ? diag::warn_pragma_invalid_specific_action in HandlePragmaMSSection()
600 : diag::warn_pragma_unsupported_action) in HandlePragmaMSSection()
613 PP.Diag(PragmaLocation, diag::warn_pragma_expected_rparen) << PragmaName; in HandlePragmaMSSection()
618 PP.Diag(PragmaLocation, diag::warn_pragma_extra_tokens_at_eol) in HandlePragmaMSSection()
630 PP.Diag(PragmaLocation, diag::warn_pragma_expected_lparen) << PragmaName; in HandlePragmaMSSegment()
644 diag::warn_pragma_expected_section_push_pop_or_name) in HandlePragmaMSSegment()
659 PP.Diag(PragmaLocation, diag::warn_pragma_expected_punc) in HandlePragmaMSSegment()
665 PP.Diag(PragmaLocation, diag::warn_pragma_expected_punc) << PragmaName; in HandlePragmaMSSegment()
675 diag::warn_pragma_expected_section_name : in HandlePragmaMSSegment()
676 diag::warn_pragma_expected_section_label_or_name : in HandlePragmaMSSegment()
677 diag::warn_pragma_expected_section_push_pop_or_name; in HandlePragmaMSSegment()
686 PP.Diag(PragmaLocation, diag::warn_pragma_expected_non_wide_string) in HandlePragmaMSSegment()
695 PP.Diag(PragmaLocation, diag::warn_pragma_expected_rparen) << PragmaName; in HandlePragmaMSSegment()
700 PP.Diag(PragmaLocation, diag::warn_pragma_extra_tokens_at_eol) in HandlePragmaMSSegment()
714 PP.Diag(PragmaLocation, diag::warn_pragma_init_seg_unsupported_target); in HandlePragmaMSInitSeg()
718 if (ExpectAndConsume(tok::l_paren, diag::warn_pragma_expected_lparen, in HandlePragmaMSInitSeg()
750 PP.Diag(PragmaLocation, diag::warn_pragma_expected_non_wide_string) in HandlePragmaMSInitSeg()
758 PP.Diag(PragmaLocation, diag::warn_pragma_expected_init_seg) << PragmaName; in HandlePragmaMSInitSeg()
762 if (ExpectAndConsume(tok::r_paren, diag::warn_pragma_expected_rparen, in HandlePragmaMSInitSeg()
764 ExpectAndConsume(tok::eof, diag::warn_pragma_extra_tokens_at_eol, in HandlePragmaMSInitSeg()
845 Diag(Toks[0].getLocation(), diag::err_pragma_loop_missing_argument) in HandlePragmaLoopHint()
864 Diag(Toks[0].getLocation(), diag::err_pragma_invalid_keyword) in HandlePragmaLoopHint()
870 Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragmaLoopHint()
883 Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragmaLoopHint()
923 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_lparen) in HandlePragma()
930 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) in HandlePragma()
936 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_rparen) in HandlePragma()
941 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) in HandlePragma()
948 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragma()
975 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_lparen) << "pack"; in HandlePragma()
1005 PP.Diag(Tok.getLocation(), diag::warn_pragma_invalid_action) << "pack"; in HandlePragma()
1026 PP.Diag(Tok.getLocation(), diag::warn_pragma_pack_malformed); in HandlePragma()
1036 PP.Diag(Tok.getLocation(), diag::warn_pragma_pack_malformed); in HandlePragma()
1049 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_rparen) << "pack"; in HandlePragma()
1056 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) << "pack"; in HandlePragma()
1086 PP.Diag(Tok.getLocation(), diag::warn_pragma_ms_struct); in HandlePragma()
1098 PP.Diag(Tok.getLocation(), diag::warn_pragma_ms_struct); in HandlePragma()
1103 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragma()
1129 PP.Diag(Tok.getLocation(), diag::warn_pragma_options_expected_align); in ParseAlignPragma()
1136 PP.Diag(Tok.getLocation(), diag::warn_pragma_align_expected_equal) in ParseAlignPragma()
1143 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) in ParseAlignPragma()
1163 PP.Diag(Tok.getLocation(), diag::warn_pragma_align_invalid_option) in ParseAlignPragma()
1171 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in ParseAlignPragma()
1210 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_lparen) << "unused"; in HandlePragma()
1230 PP.Diag(Tok.getLocation(), diag::warn_pragma_unused_expected_var); in HandlePragma()
1246 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_punc) << "unused"; in HandlePragma()
1252 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) << in HandlePragma()
1289 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) << "weak"; in HandlePragma()
1302 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) in HandlePragma()
1311 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) << "weak"; in HandlePragma()
1348 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) << in HandlePragma()
1357 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) in HandlePragma()
1366 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) << in HandlePragma()
1409 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) << in HandlePragma()
1418 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_colon) << ename; in HandlePragma()
1424 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_enable_disable); in HandlePragma()
1435 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_enable_disable); in HandlePragma()
1442 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) << in HandlePragma()
1468 if (!PP.getDiagnostics().isIgnored(diag::warn_pragma_omp_ignored, in HandlePragma()
1470 PP.Diag(FirstTok, diag::warn_pragma_omp_ignored); in HandlePragma()
1471 PP.getDiagnostics().setSeverity(diag::warn_pragma_omp_ignored, in HandlePragma()
1472 diag::Severity::Ignored, SourceLocation()); in HandlePragma()
1519 PP.Diag(PointersToMembersLoc, diag::warn_pragma_expected_lparen) in HandlePragma()
1526 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) in HandlePragma()
1543 diag::err_pragma_pointers_to_members_unknown_kind) in HandlePragma()
1554 PP.Diag(Tok.getLocation(), diag::err_expected_punc) in HandlePragma()
1572 diag::err_pragma_pointers_to_members_unknown_kind) in HandlePragma()
1580 PP.Diag(Tok.getLocation(), diag::err_expected_rparen_after) in HandlePragma()
1588 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragma()
1617 PP.Diag(VtorDispLoc, diag::warn_pragma_expected_lparen) << "vtordisp"; in HandlePragma()
1629 PP.Diag(VtorDispLoc, diag::warn_pragma_expected_punc) << "vtordisp"; in HandlePragma()
1661 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_integer) in HandlePragma()
1666 PP.Diag(Tok.getLocation(), diag::warn_pragma_invalid_action) in HandlePragma()
1674 PP.Diag(VtorDispLoc, diag::warn_pragma_expected_rparen) << "vtordisp"; in HandlePragma()
1680 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragma()
1743 PP.Diag(DetectMismatchLoc, diag::err_expected) << tok::l_paren; in HandlePragma()
1757 PP.Diag(Tok.getLocation(), diag::err_pragma_detect_mismatch_malformed); in HandlePragma()
1766 PP.Diag(Tok.getLocation(), diag::err_expected) << tok::r_paren; in HandlePragma()
1772 PP.Diag(Tok.getLocation(), diag::err_pragma_detect_mismatch_malformed); in HandlePragma()
1799 PP.Diag(CommentLoc, diag::err_pragma_comment_malformed); in HandlePragma()
1806 PP.Diag(CommentLoc, diag::err_pragma_comment_malformed); in HandlePragma()
1821 PP.Diag(Tok.getLocation(), diag::err_pragma_comment_unknown_kind); in HandlePragma()
1828 PP.Diag(Tok.getLocation(), diag::warn_pragma_comment_ignored) in HandlePragma()
1849 PP.Diag(Tok.getLocation(), diag::err_pragma_comment_malformed); in HandlePragma()
1855 PP.Diag(Tok.getLocation(), diag::err_pragma_comment_malformed); in HandlePragma()
1874 PP.Diag(Tok.getLocation(), diag::err_pragma_missing_argument) in HandlePragma()
1879 PP.Diag(Tok.getLocation(), diag::err_pragma_optimize_invalid_argument) in HandlePragma()
1889 PP.Diag(Tok.getLocation(), diag::err_pragma_optimize_invalid_argument) in HandlePragma()
1896 PP.Diag(Tok.getLocation(), diag::err_pragma_optimize_extra_argument) in HandlePragma()
1927 PP.Diag(Tok.getLocation(), diag::err_expected) << tok::r_paren; in ParseLoopHintValue()
2001 PP.Diag(Tok.getLocation(), diag::err_pragma_loop_invalid_option) in HandlePragma()
2020 PP.Diag(Tok.getLocation(), diag::err_pragma_loop_invalid_option) in HandlePragma()
2028 PP.Diag(Tok.getLocation(), diag::err_expected) << tok::l_paren; in HandlePragma()
2049 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragma()
2091 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragma()
2111 diag::warn_pragma_unroll_cuda_value_in_parens); in HandlePragma()
2114 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragma()