Home
last modified time | relevance | path

Searched refs:PrevTokLocation (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h75 SourceLocation PrevTokLocation; variable
517 PrevTokLocation = Tok.getLocation(); in ConsumeToken()
519 return PrevTokLocation; in ConsumeToken()
527 PrevTokLocation = Tok.getLocation(); in TryConsumeToken()
535 Loc = PrevTokLocation; in TryConsumeToken()
628 PrevTokLocation = Tok.getLocation(); in ConsumeParen()
630 return PrevTokLocation; in ConsumeParen()
646 return PrevTokLocation; in ConsumeBracket()
662 return PrevTokLocation; in ConsumeBrace()
674 return PrevTokLocation; in ConsumeStringToken()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp889 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement()
967 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement()
1362 Start, Tok.getLocation() == Start ? Start : PrevTokLocation, {}, in ParseParenExprOrCondition()
1934 Start, Start == Tok.getLocation() ? Start : PrevTokLocation, {}, in ParseDoStatement()
2219 : PrevTokLocation, in ParseForStatement()
H A DParser.cpp144 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume()
2270 PrevTokLocation = Tok.getLocation(); in handleUnexpectedCodeCompletionToken()
2277 return PrevTokLocation; in handleUnexpectedCodeCompletionToken()
2283 return PrevTokLocation; in handleUnexpectedCodeCompletionToken()
2289 return PrevTokLocation; in handleUnexpectedCodeCompletionToken()
H A DParseTemplate.cpp1172 SourceLocation TokBeforeGreaterLoc = PrevTokLocation; in ParseGreaterThanInTemplateList()
1262 PrevTokLocation = RAngleLoc; in ParseGreaterThanInTemplateList()
1264 PrevTokLocation = TokBeforeGreaterLoc; in ParseGreaterThanInTemplateList()
H A DParseDeclCXX.cpp3328 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification()
3592 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification()
3684 SourceLocation SavedPrevTokLocation = PrevTokLocation; in ParseCXXMemberSpecification()
3694 PrevTokLocation = SavedPrevTokLocation; in ParseCXXMemberSpecification()
3721 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace()
3783 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
H A DParseExpr.cpp1872 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(PrevTokLocation), in ParseCastExpression()
2102 Loc = PrevTokLocation; in ParsePostfixExpressionSuffix()
2385 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait()
H A DParseExprCXX.cpp1148 SourceLocation LocEnd = PrevTokLocation; in ParseLambdaIntroducer()
2271 DS.SetRangeEnd(PrevTokLocation); in ParseCXXSimpleTypeSpecifier()
2374 DS.SetRangeEnd(PrevTokLocation); in ParseCXXSimpleTypeSpecifier()
H A DParseCXXInlineMethods.cpp668 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseLexedMemberInitializer()
H A DParseObjc.cpp1903 endLoc = PrevTokLocation; in parseObjCTypeArgsAndProtocolQualifiers()
2200 << SourceRange(diagLoc, PrevTokLocation); in ParseObjCAtImplementationDeclaration()
H A DParseOpenMP.cpp3052 << SourceRange(PrevTok.getLocation(), PrevTokLocation); in ParseOpenMPSimpleVarList()
H A DParseDecl.cpp4244 ConsumedEnd = PrevTokLocation; in ParseDeclarationSpecifiers()