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.cpp299 SourceLocation ExpectedLoc, in attachDirective() argument
304 UD.RegexKind, UD.DirectivePos, ExpectedLoc, UD.Spelling, in attachDirective()
513 SourceLocation ExpectedLoc; in ParseDirective() local
518 ExpectedLoc = Pos; in ParseDirective()
531 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
536 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
553 ExpectedLoc = SourceLocation(); in ParseDirective()
571 ExpectedLoc = SM.translateLineCol(FID, Line, 1); in ParseDirective()
574 ExpectedLoc = SM.translateLineCol(FID, 1, 1); in ParseDirective()
579 ExpectedLoc = SourceLocation(); in ParseDirective()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp843 SourceLocation ExpectedLoc = getEndOfPreviousToken(); in ParseCaseStatement() local
845 Diag(ExpectedLoc, diag::err_expected_after) in ParseCaseStatement()
847 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement()
849 ColonLoc = ExpectedLoc; in ParseCaseStatement()
918 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() local
919 Diag(ExpectedLoc, diag::err_expected_after) in ParseDefaultStatement()
921 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement()
922 ColonLoc = ExpectedLoc; in ParseDefaultStatement()
H A DParseExprCXX.cpp1047 SourceLocation ExpectedLoc = in ParseLambdaIntroducer() local
1051 D << InitCapture << FixItHint::CreateInsertion(ExpectedLoc, "..."); in ParseLambdaIntroducer()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp418 ExpectedLoc = Tok; in enterReturn()
423 ExpectedLoc = Tok; in enterReturn()
427 ExpectedLoc = Tok; in enterReturn()
437 ExpectedLoc = Tok; in enterVariableInit()
451 ExpectedLoc = Tok; in enterDesignatedInitializer()
460 ExpectedLoc = Tok; in enterFunctionArgument()
468 if (ExpectedLoc == LParLoc) in enterParenExpr()
469 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.h326 if (!Enabled || Tok != ExpectedLoc) in get()
339 SourceLocation ExpectedLoc; variable