Home
last modified time | relevance | path

Searched refs:ExpectedLoc (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp297 SourceLocation ExpectedLoc, in attachDirective() argument
302 UD.RegexKind, UD.DirectivePos, ExpectedLoc, MatchAnyFileAndLine, in attachDirective()
505 SourceLocation ExpectedLoc; in ParseDirective() local
510 ExpectedLoc = Pos; in ParseDirective()
523 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
528 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
545 ExpectedLoc = SourceLocation(); in ParseDirective()
563 ExpectedLoc = SM.translateLineCol(FID, Line, 1); in ParseDirective()
566 ExpectedLoc = SM.translateLineCol(FID, 1, 1); in ParseDirective()
571 ExpectedLoc = SourceLocation(); in ParseDirective()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp901 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() local
902 Diag(ExpectedLoc, diag::err_expected_after) in ParseCaseStatement()
904 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement()
905 ColonLoc = ExpectedLoc; in ParseCaseStatement()
979 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() local
980 Diag(ExpectedLoc, diag::err_expected_after) in ParseDefaultStatement()
982 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement()
983 ColonLoc = ExpectedLoc; in ParseDefaultStatement()
H A DParseExprCXX.cpp1188 SourceLocation ExpectedLoc = in ParseLambdaIntroducer() local
1192 D << InitCapture << FixItHint::CreateInsertion(ExpectedLoc, "..."); in ParseLambdaIntroducer()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp419 ExpectedLoc = Tok; in enterReturn()
424 ExpectedLoc = Tok; in enterReturn()
428 ExpectedLoc = Tok; in enterReturn()
438 ExpectedLoc = Tok; in enterVariableInit()
450 ExpectedLoc = Tok; in enterDesignatedInitializer()
459 ExpectedLoc = Tok; in enterFunctionArgument()
467 if (ExpectedLoc == LParLoc) in enterParenExpr()
468 ExpectedLoc = Tok; in enterParenExpr()
587 ExpectedLoc = Tok; in enterBinary()
595 if (ExpectedLoc != Base->getBeginLoc()) in enterMemAccess()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h350 if (!Enabled || Tok != ExpectedLoc) in get()
362 SourceLocation ExpectedLoc; variable