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

/freebsd-10.3-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.3-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmt.cpp649 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); local
650 Diag(ExpectedLoc, diag::err_expected_colon_after) << "'case'"
651 << FixItHint::CreateInsertion(ExpectedLoc, ":");
652 ColonLoc = ExpectedLoc;
725 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); local
726 Diag(ExpectedLoc, diag::err_expected_colon_after) << "'default'"
727 << FixItHint::CreateInsertion(ExpectedLoc, ":");
728 ColonLoc = ExpectedLoc;

Completed in 76 milliseconds