Searched refs:ExpectedLoc (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp346 SourceLocation ExpectedLoc; local
348 ExpectedLoc = Pos;
361 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1);
366 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1);
386 ExpectedLoc = SM.translateFileLineCol(FE, Line, 1);
389 if (ExpectedLoc.isInvalid()) {
463 Directive *D = Directive::create(RegexKind, Pos, ExpectedLoc, Text,
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmt.cpp584 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); local
585 Diag(ExpectedLoc, diag::err_expected_colon_after) << "'case'"
586 << FixItHint::CreateInsertion(ExpectedLoc, ":");
587 ColonLoc = ExpectedLoc;
660 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); local
661 Diag(ExpectedLoc, diag::err_expected_colon_after) << "'default'"
662 << FixItHint::CreateInsertion(ExpectedLoc, ":");
663 ColonLoc = ExpectedLoc;

Completed in 189 milliseconds