Searched refs:ExpectedLoc (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Frontend/ |
D | VerifyDiagnosticConsumer.cpp | 376 SourceLocation ExpectedLoc; in ParseDirective() local 379 ExpectedLoc = Pos; in ParseDirective() 392 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective() 397 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective() 417 ExpectedLoc = SM.translateFileLineCol(FE, Line, 1); in ParseDirective() 420 ExpectedLoc = SM.translateFileLineCol(FE, 1, 1); in ParseDirective() 424 if (ExpectedLoc.isInvalid()) { in ParseDirective() 506 Directive::create(RegexKind, Pos, ExpectedLoc, MatchAnyLine, Text, in ParseDirective()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 684 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() local 685 Diag(ExpectedLoc, diag::err_expected_after) in ParseCaseStatement() 687 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement() 688 ColonLoc = ExpectedLoc; in ParseCaseStatement() 761 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() local 762 Diag(ExpectedLoc, diag::err_expected_after) in ParseDefaultStatement() 764 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement() 765 ColonLoc = ExpectedLoc; in ParseDefaultStatement()
|