Searched refs:ExpectedLoc (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Frontend/ |
D | VerifyDiagnosticConsumer.cpp | 373 SourceLocation ExpectedLoc; in ParseDirective() local 376 ExpectedLoc = Pos; in ParseDirective() 389 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective() 394 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective() 415 ExpectedLoc = SM.translateFileLineCol(FE, Line, 1); in ParseDirective() 418 ExpectedLoc = SM.translateFileLineCol(FE, 1, 1); in ParseDirective() 422 if (ExpectedLoc.isInvalid()) { in ParseDirective() 504 RegexKind, Pos, ExpectedLoc, MatchAnyLine, Text, Min, Max); in ParseDirective()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 704 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() local 705 Diag(ExpectedLoc, diag::err_expected_after) in ParseCaseStatement() 707 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement() 708 ColonLoc = ExpectedLoc; in ParseCaseStatement() 781 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() local 782 Diag(ExpectedLoc, diag::err_expected_after) in ParseDefaultStatement() 784 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement() 785 ColonLoc = ExpectedLoc; in ParseDefaultStatement()
|