Lines Matching refs:diag
430 PP.Diag(Tok, diag::err_expected) << tok::l_brace; in HandlePragmaCaptured()
475 PP.Diag(NameLoc, diag::warn_pragma_unknown_extension) << ename; in HandlePragmaOpenCLExtension()
532 PP.Diag(PragmaLocation, diag::warn_pragma_expected_lparen) << PragmaName; in HandlePragmaMSSection()
538 PP.Diag(PragmaLocation, diag::warn_pragma_expected_section_name) in HandlePragmaMSSection()
547 PP.Diag(PragmaLocation, diag::warn_pragma_expected_non_wide_string) in HandlePragmaMSSection()
564 PP.Diag(PragmaLocation, diag::warn_pragma_expected_action_or_r_paren) in HandlePragmaMSSection()
582 ? diag::warn_pragma_invalid_specific_action in HandlePragmaMSSection()
583 : diag::warn_pragma_unsupported_action) in HandlePragmaMSSection()
596 PP.Diag(PragmaLocation, diag::warn_pragma_expected_rparen) << PragmaName; in HandlePragmaMSSection()
601 PP.Diag(PragmaLocation, diag::warn_pragma_extra_tokens_at_eol) in HandlePragmaMSSection()
613 PP.Diag(PragmaLocation, diag::warn_pragma_expected_lparen) << PragmaName; in HandlePragmaMSSegment()
627 diag::warn_pragma_expected_section_push_pop_or_name) in HandlePragmaMSSegment()
642 PP.Diag(PragmaLocation, diag::warn_pragma_expected_punc) in HandlePragmaMSSegment()
648 PP.Diag(PragmaLocation, diag::warn_pragma_expected_punc) << PragmaName; in HandlePragmaMSSegment()
658 diag::warn_pragma_expected_section_name : in HandlePragmaMSSegment()
659 diag::warn_pragma_expected_section_label_or_name : in HandlePragmaMSSegment()
660 diag::warn_pragma_expected_section_push_pop_or_name; in HandlePragmaMSSegment()
669 PP.Diag(PragmaLocation, diag::warn_pragma_expected_non_wide_string) in HandlePragmaMSSegment()
678 PP.Diag(PragmaLocation, diag::warn_pragma_expected_rparen) << PragmaName; in HandlePragmaMSSegment()
683 PP.Diag(PragmaLocation, diag::warn_pragma_extra_tokens_at_eol) in HandlePragmaMSSegment()
697 PP.Diag(PragmaLocation, diag::warn_pragma_init_seg_unsupported_target); in HandlePragmaMSInitSeg()
701 if (ExpectAndConsume(tok::l_paren, diag::warn_pragma_expected_lparen, in HandlePragmaMSInitSeg()
733 PP.Diag(PragmaLocation, diag::warn_pragma_expected_non_wide_string) in HandlePragmaMSInitSeg()
741 PP.Diag(PragmaLocation, diag::warn_pragma_expected_init_seg) << PragmaName; in HandlePragmaMSInitSeg()
745 if (ExpectAndConsume(tok::r_paren, diag::warn_pragma_expected_rparen, in HandlePragmaMSInitSeg()
747 ExpectAndConsume(tok::eof, diag::warn_pragma_extra_tokens_at_eol, in HandlePragmaMSInitSeg()
826 Diag(Toks[0].getLocation(), diag::err_pragma_loop_missing_argument) in HandlePragmaLoopHint()
840 Diag(Toks[0].getLocation(), diag::err_pragma_invalid_keyword) in HandlePragmaLoopHint()
845 Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragmaLoopHint()
859 Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragmaLoopHint()
899 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_lparen) in HandlePragma()
906 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) in HandlePragma()
912 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_rparen) in HandlePragma()
917 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) in HandlePragma()
924 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragma()
952 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_lparen) << "pack"; in HandlePragma()
983 PP.Diag(Tok.getLocation(), diag::warn_pragma_invalid_action) << "pack"; in HandlePragma()
1003 PP.Diag(Tok.getLocation(), diag::warn_pragma_pack_malformed); in HandlePragma()
1012 PP.Diag(Tok.getLocation(), diag::warn_pragma_pack_malformed); in HandlePragma()
1025 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_rparen) << "pack"; in HandlePragma()
1032 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) << "pack"; in HandlePragma()
1069 PP.Diag(Tok.getLocation(), diag::warn_pragma_ms_struct); in HandlePragma()
1081 PP.Diag(Tok.getLocation(), diag::warn_pragma_ms_struct); in HandlePragma()
1086 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragma()
1115 PP.Diag(Tok.getLocation(), diag::warn_pragma_options_expected_align); in ParseAlignPragma()
1122 PP.Diag(Tok.getLocation(), diag::warn_pragma_align_expected_equal) in ParseAlignPragma()
1129 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) in ParseAlignPragma()
1149 PP.Diag(Tok.getLocation(), diag::warn_pragma_align_invalid_option) in ParseAlignPragma()
1157 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in ParseAlignPragma()
1199 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_lparen) << "unused"; in HandlePragma()
1219 PP.Diag(Tok.getLocation(), diag::warn_pragma_unused_expected_var); in HandlePragma()
1235 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_punc) << "unused"; in HandlePragma()
1241 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) << in HandlePragma()
1279 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) << "weak"; in HandlePragma()
1292 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) in HandlePragma()
1301 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) << "weak"; in HandlePragma()
1342 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) << in HandlePragma()
1351 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) in HandlePragma()
1360 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) << in HandlePragma()
1408 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) << in HandlePragma()
1417 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_colon) << ename; in HandlePragma()
1423 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_enable_disable); in HandlePragma()
1434 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_enable_disable); in HandlePragma()
1441 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) << in HandlePragma()
1470 if (!PP.getDiagnostics().isIgnored(diag::warn_pragma_omp_ignored, in HandlePragma()
1472 PP.Diag(FirstTok, diag::warn_pragma_omp_ignored); in HandlePragma()
1473 PP.getDiagnostics().setSeverity(diag::warn_pragma_omp_ignored, in HandlePragma()
1474 diag::Severity::Ignored, SourceLocation()); in HandlePragma()
1521 PP.Diag(PointersToMembersLoc, diag::warn_pragma_expected_lparen) in HandlePragma()
1528 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) in HandlePragma()
1545 diag::err_pragma_pointers_to_members_unknown_kind) in HandlePragma()
1556 PP.Diag(Tok.getLocation(), diag::err_expected_punc) in HandlePragma()
1574 diag::err_pragma_pointers_to_members_unknown_kind) in HandlePragma()
1582 PP.Diag(Tok.getLocation(), diag::err_expected_rparen_after) in HandlePragma()
1590 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragma()
1619 PP.Diag(VtorDispLoc, diag::warn_pragma_expected_lparen) << "vtordisp"; in HandlePragma()
1631 PP.Diag(VtorDispLoc, diag::warn_pragma_expected_punc) << "vtordisp"; in HandlePragma()
1663 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_integer) in HandlePragma()
1668 PP.Diag(Tok.getLocation(), diag::warn_pragma_invalid_action) in HandlePragma()
1676 PP.Diag(VtorDispLoc, diag::warn_pragma_expected_rparen) << "vtordisp"; in HandlePragma()
1682 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragma()
1744 PP.Diag(CommentLoc, diag::err_expected) << tok::l_paren; in HandlePragma()
1758 PP.Diag(Tok.getLocation(), diag::err_pragma_detect_mismatch_malformed); in HandlePragma()
1767 PP.Diag(Tok.getLocation(), diag::err_expected) << tok::r_paren; in HandlePragma()
1773 PP.Diag(Tok.getLocation(), diag::err_pragma_detect_mismatch_malformed); in HandlePragma()
1800 PP.Diag(CommentLoc, diag::err_pragma_comment_malformed); in HandlePragma()
1807 PP.Diag(CommentLoc, diag::err_pragma_comment_malformed); in HandlePragma()
1822 PP.Diag(Tok.getLocation(), diag::err_pragma_comment_unknown_kind); in HandlePragma()
1829 PP.Diag(Tok.getLocation(), diag::warn_pragma_comment_ignored) in HandlePragma()
1850 PP.Diag(Tok.getLocation(), diag::err_pragma_comment_malformed); in HandlePragma()
1856 PP.Diag(Tok.getLocation(), diag::err_pragma_comment_malformed); in HandlePragma()
1875 PP.Diag(Tok.getLocation(), diag::err_pragma_missing_argument) in HandlePragma()
1880 PP.Diag(Tok.getLocation(), diag::err_pragma_optimize_invalid_argument) in HandlePragma()
1890 PP.Diag(Tok.getLocation(), diag::err_pragma_optimize_invalid_argument) in HandlePragma()
1897 PP.Diag(Tok.getLocation(), diag::err_pragma_optimize_extra_argument) in HandlePragma()
1928 PP.Diag(Tok.getLocation(), diag::err_expected) << tok::r_paren; in ParseLoopHintValue()
2002 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()
2092 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragma()
2112 diag::warn_pragma_unroll_cuda_value_in_parens); in HandlePragma()
2115 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragma()