Searched refs:ExpectedLoc (Results 1 – 2 of 2) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | VerifyDiagnosticConsumer.cpp | 453 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()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 727 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()
|