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 | 710 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() local 711 Diag(ExpectedLoc, diag::err_expected_after) in ParseCaseStatement() 713 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement() 714 ColonLoc = ExpectedLoc; in ParseCaseStatement() 787 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() local 788 Diag(ExpectedLoc, diag::err_expected_after) in ParseDefaultStatement() 790 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement() 791 ColonLoc = ExpectedLoc; in ParseDefaultStatement()
|