Home
last modified time | relevance | path

Searched refs:ExpectedLoc (Results 1 – 25 of 74) sorted by relevance

123

/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp299 SourceLocation ExpectedLoc, in attachDirective() argument
304 UD.RegexKind, UD.DirectivePos, ExpectedLoc, MatchAnyFileAndLine, in attachDirective()
503 SourceLocation ExpectedLoc; in ParseDirective() local
508 ExpectedLoc = Pos; in ParseDirective()
521 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
526 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
543 ExpectedLoc = SourceLocation(); in ParseDirective()
562 ExpectedLoc = SM.translateLineCol(FID, Line, 1); in ParseDirective()
565 ExpectedLoc = SM.translateLineCol(FID, 1, 1); in ParseDirective()
570 ExpectedLoc = SourceLocation(); in ParseDirective()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp299 SourceLocation ExpectedLoc, in attachDirective() argument
304 UD.RegexKind, UD.DirectivePos, ExpectedLoc, MatchAnyFileAndLine, in attachDirective()
503 SourceLocation ExpectedLoc; in ParseDirective() local
508 ExpectedLoc = Pos; in ParseDirective()
521 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
526 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
543 ExpectedLoc = SourceLocation(); in ParseDirective()
562 ExpectedLoc = SM.translateFileLineCol(FE, Line, 1); in ParseDirective()
565 ExpectedLoc = SM.translateFileLineCol(FE, 1, 1); in ParseDirective()
570 ExpectedLoc = SourceLocation(); in ParseDirective()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp299 SourceLocation ExpectedLoc, in attachDirective() argument
304 UD.RegexKind, UD.DirectivePos, ExpectedLoc, MatchAnyFileAndLine, in attachDirective()
503 SourceLocation ExpectedLoc; in ParseDirective() local
508 ExpectedLoc = Pos; in ParseDirective()
521 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
526 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
543 ExpectedLoc = SourceLocation(); in ParseDirective()
562 ExpectedLoc = SM.translateLineCol(FID, Line, 1); in ParseDirective()
565 ExpectedLoc = SM.translateLineCol(FID, 1, 1); in ParseDirective()
570 ExpectedLoc = SourceLocation(); in ParseDirective()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp299 SourceLocation ExpectedLoc, in attachDirective() argument
304 UD.RegexKind, UD.DirectivePos, ExpectedLoc, MatchAnyFileAndLine, in attachDirective()
503 SourceLocation ExpectedLoc; in ParseDirective() local
508 ExpectedLoc = Pos; in ParseDirective()
521 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
526 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
543 ExpectedLoc = SourceLocation(); in ParseDirective()
562 ExpectedLoc = SM.translateLineCol(FID, Line, 1); in ParseDirective()
565 ExpectedLoc = SM.translateLineCol(FID, 1, 1); in ParseDirective()
570 ExpectedLoc = SourceLocation(); in ParseDirective()
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp299 SourceLocation ExpectedLoc, in attachDirective() argument
304 UD.RegexKind, UD.DirectivePos, ExpectedLoc, MatchAnyFileAndLine, in attachDirective()
503 SourceLocation ExpectedLoc; in ParseDirective() local
508 ExpectedLoc = Pos; in ParseDirective()
521 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
526 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
543 ExpectedLoc = SourceLocation(); in ParseDirective()
562 ExpectedLoc = SM.translateFileLineCol(FE, Line, 1); in ParseDirective()
565 ExpectedLoc = SM.translateFileLineCol(FE, 1, 1); in ParseDirective()
570 ExpectedLoc = SourceLocation(); in ParseDirective()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp299 SourceLocation ExpectedLoc, in attachDirective() argument
304 UD.RegexKind, UD.DirectivePos, ExpectedLoc, MatchAnyFileAndLine, in attachDirective()
503 SourceLocation ExpectedLoc; in ParseDirective() local
508 ExpectedLoc = Pos; in ParseDirective()
521 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
526 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
543 ExpectedLoc = SourceLocation(); in ParseDirective()
562 ExpectedLoc = SM.translateFileLineCol(FE, Line, 1); in ParseDirective()
565 ExpectedLoc = SM.translateFileLineCol(FE, 1, 1); in ParseDirective()
570 ExpectedLoc = SourceLocation(); in ParseDirective()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp299 SourceLocation ExpectedLoc, in attachDirective() argument
304 UD.RegexKind, UD.DirectivePos, ExpectedLoc, MatchAnyFileAndLine, in attachDirective()
503 SourceLocation ExpectedLoc; in ParseDirective() local
508 ExpectedLoc = Pos; in ParseDirective()
521 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
526 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
543 ExpectedLoc = SourceLocation(); in ParseDirective()
562 ExpectedLoc = SM.translateLineCol(FID, Line, 1); in ParseDirective()
565 ExpectedLoc = SM.translateLineCol(FID, 1, 1); in ParseDirective()
570 ExpectedLoc = SourceLocation(); in ParseDirective()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp299 SourceLocation ExpectedLoc, in attachDirective() argument
304 UD.RegexKind, UD.DirectivePos, ExpectedLoc, MatchAnyFileAndLine, in attachDirective()
503 SourceLocation ExpectedLoc; in ParseDirective() local
508 ExpectedLoc = Pos; in ParseDirective()
521 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
526 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
543 ExpectedLoc = SourceLocation(); in ParseDirective()
562 ExpectedLoc = SM.translateLineCol(FID, Line, 1); in ParseDirective()
565 ExpectedLoc = SM.translateLineCol(FID, 1, 1); in ParseDirective()
570 ExpectedLoc = SourceLocation(); in ParseDirective()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp299 SourceLocation ExpectedLoc, in attachDirective() argument
304 UD.RegexKind, UD.DirectivePos, ExpectedLoc, MatchAnyFileAndLine, in attachDirective()
503 SourceLocation ExpectedLoc; in ParseDirective() local
508 ExpectedLoc = Pos; in ParseDirective()
521 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
526 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
543 ExpectedLoc = SourceLocation(); in ParseDirective()
562 ExpectedLoc = SM.translateLineCol(FID, Line, 1); in ParseDirective()
565 ExpectedLoc = SM.translateLineCol(FID, 1, 1); in ParseDirective()
570 ExpectedLoc = SourceLocation(); in ParseDirective()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp299 SourceLocation ExpectedLoc, in attachDirective() argument
304 UD.RegexKind, UD.DirectivePos, ExpectedLoc, MatchAnyFileAndLine, in attachDirective()
503 SourceLocation ExpectedLoc; in ParseDirective() local
508 ExpectedLoc = Pos; in ParseDirective()
521 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
526 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
543 ExpectedLoc = SourceLocation(); in ParseDirective()
562 ExpectedLoc = SM.translateLineCol(FID, Line, 1); in ParseDirective()
565 ExpectedLoc = SM.translateLineCol(FID, 1, 1); in ParseDirective()
570 ExpectedLoc = SourceLocation(); in ParseDirective()
[all …]
/dports/lang/clang-mesa/clang-13.0.1.src/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp299 SourceLocation ExpectedLoc, in attachDirective() argument
304 UD.RegexKind, UD.DirectivePos, ExpectedLoc, MatchAnyFileAndLine, in attachDirective()
503 SourceLocation ExpectedLoc; in ParseDirective() local
508 ExpectedLoc = Pos; in ParseDirective()
521 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
526 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
543 ExpectedLoc = SourceLocation(); in ParseDirective()
562 ExpectedLoc = SM.translateLineCol(FID, Line, 1); in ParseDirective()
565 ExpectedLoc = SM.translateLineCol(FID, 1, 1); in ParseDirective()
570 ExpectedLoc = SourceLocation(); in ParseDirective()
[all …]
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp297 SourceLocation ExpectedLoc, bool MatchAnyLine = false) { in attachDirective() argument
300 Directive::create(UD.RegexKind, UD.DirectivePos, ExpectedLoc, in attachDirective()
499 SourceLocation ExpectedLoc; in ParseDirective() local
503 ExpectedLoc = Pos; in ParseDirective()
516 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
521 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
545 ExpectedLoc = SM.translateFileLineCol(FE, Line, 1); in ParseDirective()
548 ExpectedLoc = SM.translateFileLineCol(FE, 1, 1); in ParseDirective()
552 ExpectedLoc = SourceLocation(); in ParseDirective()
555 if (ExpectedLoc.isInvalid() && !MatchAnyLine && Marker.empty()) { in ParseDirective()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp297 SourceLocation ExpectedLoc, bool MatchAnyLine = false) { in attachDirective() argument
300 Directive::create(UD.RegexKind, UD.DirectivePos, ExpectedLoc, in attachDirective()
499 SourceLocation ExpectedLoc; in ParseDirective() local
503 ExpectedLoc = Pos; in ParseDirective()
516 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
521 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
545 ExpectedLoc = SM.translateFileLineCol(FE, Line, 1); in ParseDirective()
548 ExpectedLoc = SM.translateFileLineCol(FE, 1, 1); in ParseDirective()
552 ExpectedLoc = SourceLocation(); in ParseDirective()
555 if (ExpectedLoc.isInvalid() && !MatchAnyLine && Marker.empty()) { in ParseDirective()
[all …]
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp297 SourceLocation ExpectedLoc, bool MatchAnyLine = false) { in attachDirective() argument
300 Directive::create(UD.RegexKind, UD.DirectivePos, ExpectedLoc, in attachDirective()
499 SourceLocation ExpectedLoc; in ParseDirective() local
503 ExpectedLoc = Pos; in ParseDirective()
516 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
521 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
544 ExpectedLoc = SM.translateFileLineCol(FE, Line, 1); in ParseDirective()
547 ExpectedLoc = SM.translateFileLineCol(FE, 1, 1); in ParseDirective()
551 ExpectedLoc = SourceLocation(); in ParseDirective()
554 if (ExpectedLoc.isInvalid() && !MatchAnyLine && Marker.empty()) { in ParseDirective()
[all …]
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp453 SourceLocation ExpectedLoc; in ParseDirective() local
456 ExpectedLoc = Pos; in ParseDirective()
469 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
474 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
495 ExpectedLoc = SM.translateFileLineCol(FE, Line, 1); in ParseDirective()
498 ExpectedLoc = SM.translateFileLineCol(FE, 1, 1); in ParseDirective()
502 ExpectedLoc = SourceLocation(); in ParseDirective()
505 if (ExpectedLoc.isInvalid() && !MatchAnyLine) { in ParseDirective()
587 RegexKind, Pos, ExpectedLoc, MatchAnyLine, Text, Min, Max); in ParseDirective()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp453 SourceLocation ExpectedLoc; in ParseDirective() local
456 ExpectedLoc = Pos; in ParseDirective()
469 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
474 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
495 ExpectedLoc = SM.translateFileLineCol(FE, Line, 1); in ParseDirective()
498 ExpectedLoc = SM.translateFileLineCol(FE, 1, 1); in ParseDirective()
502 ExpectedLoc = SourceLocation(); in ParseDirective()
505 if (ExpectedLoc.isInvalid() && !MatchAnyLine) { in ParseDirective()
587 RegexKind, Pos, ExpectedLoc, MatchAnyLine, Text, Min, Max); in ParseDirective()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/lib/Parse/
H A DParseStmt.cpp722 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() local
723 Diag(ExpectedLoc, diag::err_expected_after) in ParseCaseStatement()
725 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement()
726 ColonLoc = ExpectedLoc; in ParseCaseStatement()
800 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() local
801 Diag(ExpectedLoc, diag::err_expected_after) in ParseDefaultStatement()
803 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement()
804 ColonLoc = ExpectedLoc; in ParseDefaultStatement()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/lib/Parse/
H A DParseStmt.cpp735 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() local
736 Diag(ExpectedLoc, diag::err_expected_after) in ParseCaseStatement()
738 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement()
739 ColonLoc = ExpectedLoc; in ParseCaseStatement()
816 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() local
817 Diag(ExpectedLoc, diag::err_expected_after) in ParseDefaultStatement()
819 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement()
820 ColonLoc = ExpectedLoc; in ParseDefaultStatement()
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/lib/Parse/
H A DParseStmt.cpp727 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() local
728 Diag(ExpectedLoc, diag::err_expected_after) in ParseCaseStatement()
730 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement()
731 ColonLoc = ExpectedLoc; in ParseCaseStatement()
805 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() local
806 Diag(ExpectedLoc, diag::err_expected_after) in ParseDefaultStatement()
808 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement()
809 ColonLoc = ExpectedLoc; in ParseDefaultStatement()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/lib/Parse/
H A DParseStmt.cpp758 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() local
759 Diag(ExpectedLoc, diag::err_expected_after) in ParseCaseStatement()
761 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement()
762 ColonLoc = ExpectedLoc; in ParseCaseStatement()
839 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() local
840 Diag(ExpectedLoc, diag::err_expected_after) in ParseDefaultStatement()
842 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement()
843 ColonLoc = ExpectedLoc; in ParseDefaultStatement()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/lib/Parse/
H A DParseStmt.cpp758 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() local
759 Diag(ExpectedLoc, diag::err_expected_after) in ParseCaseStatement()
761 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement()
762 ColonLoc = ExpectedLoc; in ParseCaseStatement()
839 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() local
840 Diag(ExpectedLoc, diag::err_expected_after) in ParseDefaultStatement()
842 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement()
843 ColonLoc = ExpectedLoc; in ParseDefaultStatement()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/lib/Parse/
H A DParseStmt.cpp751 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() local
752 Diag(ExpectedLoc, diag::err_expected_after) in ParseCaseStatement()
754 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement()
755 ColonLoc = ExpectedLoc; in ParseCaseStatement()
832 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() local
833 Diag(ExpectedLoc, diag::err_expected_after) in ParseDefaultStatement()
835 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement()
836 ColonLoc = ExpectedLoc; in ParseDefaultStatement()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp751 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() local
752 Diag(ExpectedLoc, diag::err_expected_after) in ParseCaseStatement()
754 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement()
755 ColonLoc = ExpectedLoc; in ParseCaseStatement()
832 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() local
833 Diag(ExpectedLoc, diag::err_expected_after) in ParseDefaultStatement()
835 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement()
836 ColonLoc = ExpectedLoc; in ParseDefaultStatement()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/lib/Parse/
H A DParseStmt.cpp775 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() local
776 Diag(ExpectedLoc, diag::err_expected_after) in ParseCaseStatement()
778 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement()
779 ColonLoc = ExpectedLoc; in ParseCaseStatement()
856 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() local
857 Diag(ExpectedLoc, diag::err_expected_after) in ParseDefaultStatement()
859 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement()
860 ColonLoc = ExpectedLoc; in ParseDefaultStatement()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/lib/Parse/
H A DParseStmt.cpp764 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() local
765 Diag(ExpectedLoc, diag::err_expected_after) in ParseCaseStatement()
767 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement()
768 ColonLoc = ExpectedLoc; in ParseCaseStatement()
845 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() local
846 Diag(ExpectedLoc, diag::err_expected_after) in ParseDefaultStatement()
848 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement()
849 ColonLoc = ExpectedLoc; in ParseDefaultStatement()

123