Searched refs:ExpectedLoc (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Frontend/ |
D | VerifyDiagnosticConsumer.cpp | 371 SourceLocation ExpectedLoc; in ParseDirective() local 374 ExpectedLoc = Pos; in ParseDirective() 387 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective() 392 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective() 413 ExpectedLoc = SM.translateFileLineCol(FE, Line, 1); in ParseDirective() 416 ExpectedLoc = SM.translateFileLineCol(FE, 1, 1); in ParseDirective() 420 if (ExpectedLoc.isInvalid()) { in ParseDirective() 502 RegexKind, Pos, ExpectedLoc, MatchAnyLine, Text, Min, Max); in ParseDirective()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 723 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() local 724 Diag(ExpectedLoc, diag::err_expected_after) in ParseCaseStatement() 726 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement() 727 ColonLoc = ExpectedLoc; in ParseCaseStatement() 802 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() local 803 Diag(ExpectedLoc, diag::err_expected_after) in ParseDefaultStatement() 805 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement() 806 ColonLoc = ExpectedLoc; in ParseDefaultStatement()
|