Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h79 SourceLocation PrevTokLocation; variable
494 PrevTokLocation = Tok.getLocation(); in ConsumeToken()
496 return PrevTokLocation; in ConsumeToken()
504 PrevTokLocation = Tok.getLocation(); in TryConsumeToken()
512 Loc = PrevTokLocation; in TryConsumeToken()
605 PrevTokLocation = Tok.getLocation(); in ConsumeParen()
607 return PrevTokLocation; in ConsumeParen()
623 return PrevTokLocation; in ConsumeBracket()
639 return PrevTokLocation; in ConsumeBrace()
651 return PrevTokLocation; in ConsumeStringToken()
[all …]
/llvm-project-15.0.7/clang/lib/Parse/
H A DParser.cpp137 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume()
2178 PrevTokLocation = Tok.getLocation(); in handleUnexpectedCodeCompletionToken()
2185 return PrevTokLocation; in handleUnexpectedCodeCompletionToken()
2191 return PrevTokLocation; in handleUnexpectedCodeCompletionToken()
2197 return PrevTokLocation; in handleUnexpectedCodeCompletionToken()
H A DParseTemplate.cpp1135 SourceLocation TokBeforeGreaterLoc = PrevTokLocation; in ParseGreaterThanInTemplateList()
1225 PrevTokLocation = RAngleLoc; in ParseGreaterThanInTemplateList()
1227 PrevTokLocation = TokBeforeGreaterLoc; in ParseGreaterThanInTemplateList()
H A DParseStmt.cpp821 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement()
902 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement()
1283 Start, Tok.getLocation() == Start ? Start : PrevTokLocation, {}, in ParseParenExprOrCondition()
1861 Start, Start == Tok.getLocation() ? Start : PrevTokLocation, {}, in ParseDoStatement()
H A DParseDeclCXX.cpp3177 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification()
3439 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification()
3531 SourceLocation SavedPrevTokLocation = PrevTokLocation; in ParseCXXMemberSpecification()
3541 PrevTokLocation = SavedPrevTokLocation; in ParseCXXMemberSpecification()
3568 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace()
3630 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
H A DParseExpr.cpp1813 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(PrevTokLocation), in ParseCastExpression()
2030 Loc = PrevTokLocation; in ParsePostfixExpressionSuffix()
2306 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait()
H A DParseExprCXX.cpp1146 SourceLocation LocEnd = PrevTokLocation; in ParseLambdaIntroducer()
2212 DS.SetRangeEnd(PrevTokLocation); in ParseCXXSimpleTypeSpecifier()
2306 DS.SetRangeEnd(PrevTokLocation); in ParseCXXSimpleTypeSpecifier()
H A DParseCXXInlineMethods.cpp660 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseLexedMemberInitializer()
H A DParseObjc.cpp1858 endLoc = PrevTokLocation; in parseObjCTypeArgsAndProtocolQualifiers()
2143 << SourceRange(diagLoc, PrevTokLocation); in ParseObjCAtImplementationDeclaration()
H A DParseOpenMP.cpp3026 << SourceRange(PrevTok.getLocation(), PrevTokLocation); in ParseOpenMPSimpleVarList()
H A DParseDecl.cpp3988 ConsumedEnd = PrevTokLocation; in ParseDeclarationSpecifiers()