Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp297 SourceLocation ExpectedLoc, in attachDirective() argument
302 UD.RegexKind, UD.DirectivePos, ExpectedLoc, MatchAnyFileAndLine, in attachDirective()
501 SourceLocation ExpectedLoc; in ParseDirective() local
506 ExpectedLoc = Pos; in ParseDirective()
519 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective()
524 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
541 ExpectedLoc = SourceLocation(); in ParseDirective()
559 ExpectedLoc = SM.translateLineCol(FID, Line, 1); in ParseDirective()
562 ExpectedLoc = SM.translateLineCol(FID, 1, 1); in ParseDirective()
567 ExpectedLoc = SourceLocation(); in ParseDirective()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseStmt.cpp845 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() local
846 Diag(ExpectedLoc, diag::err_expected_after) in ParseCaseStatement()
848 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement()
849 ColonLoc = ExpectedLoc; in ParseCaseStatement()
921 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() local
922 Diag(ExpectedLoc, diag::err_expected_after) in ParseDefaultStatement()
924 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement()
925 ColonLoc = ExpectedLoc; in ParseDefaultStatement()
H A DParseExprCXX.cpp1113 SourceLocation ExpectedLoc = in ParseLambdaIntroducer() local
1117 D << InitCapture << FixItHint::CreateInsertion(ExpectedLoc, "..."); in ParseLambdaIntroducer()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaCodeComplete.cpp395 ExpectedLoc = Tok; in enterReturn()
400 ExpectedLoc = Tok; in enterReturn()
404 ExpectedLoc = Tok; in enterReturn()
414 ExpectedLoc = Tok; in enterVariableInit()
426 ExpectedLoc = Tok; in enterDesignatedInitializer()
435 ExpectedLoc = Tok; in enterFunctionArgument()
443 if (ExpectedLoc == LParLoc) in enterParenExpr()
444 ExpectedLoc = Tok; in enterParenExpr()
563 ExpectedLoc = Tok; in enterBinary()
571 if (ExpectedLoc != Base->getBeginLoc()) in enterMemAccess()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h335 if (!Enabled || Tok != ExpectedLoc) in get()
347 SourceLocation ExpectedLoc; variable