Searched refs:PrevTokLocation (Results 1 – 11 of 11) sorted by relevance
| /llvm-project-15.0.7/clang/include/clang/Parse/ |
| H A D | Parser.h | 79 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 D | Parser.cpp | 137 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 D | ParseTemplate.cpp | 1135 SourceLocation TokBeforeGreaterLoc = PrevTokLocation; in ParseGreaterThanInTemplateList() 1225 PrevTokLocation = RAngleLoc; in ParseGreaterThanInTemplateList() 1227 PrevTokLocation = TokBeforeGreaterLoc; in ParseGreaterThanInTemplateList()
|
| H A D | ParseStmt.cpp | 821 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 D | ParseDeclCXX.cpp | 3177 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 D | ParseExpr.cpp | 1813 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(PrevTokLocation), in ParseCastExpression() 2030 Loc = PrevTokLocation; in ParsePostfixExpressionSuffix() 2306 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait()
|
| H A D | ParseExprCXX.cpp | 1146 SourceLocation LocEnd = PrevTokLocation; in ParseLambdaIntroducer() 2212 DS.SetRangeEnd(PrevTokLocation); in ParseCXXSimpleTypeSpecifier() 2306 DS.SetRangeEnd(PrevTokLocation); in ParseCXXSimpleTypeSpecifier()
|
| H A D | ParseCXXInlineMethods.cpp | 660 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseLexedMemberInitializer()
|
| H A D | ParseObjc.cpp | 1858 endLoc = PrevTokLocation; in parseObjCTypeArgsAndProtocolQualifiers() 2143 << SourceRange(diagLoc, PrevTokLocation); in ParseObjCAtImplementationDeclaration()
|
| H A D | ParseOpenMP.cpp | 3026 << SourceRange(PrevTok.getLocation(), PrevTokLocation); in ParseOpenMPSimpleVarList()
|
| H A D | ParseDecl.cpp | 3988 ConsumedEnd = PrevTokLocation; in ParseDeclarationSpecifiers()
|