Searched refs:PrevTokLocation (Results 1 – 11 of 11) sorted by relevance
| /freebsd-14-stable/contrib/llvm-project/clang/include/clang/Parse/ |
| HD | Parser.h | 79 SourceLocation PrevTokLocation; variable 551 PrevTokLocation = Tok.getLocation(); in ConsumeToken() 553 return PrevTokLocation; in ConsumeToken() 561 PrevTokLocation = Tok.getLocation(); in TryConsumeToken() 569 Loc = PrevTokLocation; in TryConsumeToken() 595 return PP.getLocForEndOfToken(PrevTokLocation); in getEndOfPreviousToken() 647 PrevTokLocation = Tok.getAnnotationEndLoc(); in ConsumeAnnotationToken() 662 PrevTokLocation = Tok.getLocation(); in ConsumeParen() 664 return PrevTokLocation; in ConsumeParen() 678 PrevTokLocation = Tok.getLocation(); in ConsumeBracket() [all …]
|
| /freebsd-14-stable/contrib/llvm-project/clang/lib/Parse/ |
| HD | Parser.cpp | 145 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() 2291 PrevTokLocation = Tok.getLocation(); in handleUnexpectedCodeCompletionToken() 2298 return PrevTokLocation; in handleUnexpectedCodeCompletionToken() 2305 return PrevTokLocation; in handleUnexpectedCodeCompletionToken() 2312 return PrevTokLocation; in handleUnexpectedCodeCompletionToken()
|
| HD | ParseStmt.cpp | 901 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() 979 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() 1374 Start, Tok.getLocation() == Start ? Start : PrevTokLocation, {}, in ParseParenExprOrCondition() 1949 Start, Start == Tok.getLocation() ? Start : PrevTokLocation, {}, in ParseDoStatement() 2236 : PrevTokLocation, in ParseForStatement()
|
| HD | ParseTemplate.cpp | 1061 SourceLocation TokBeforeGreaterLoc = PrevTokLocation; in ParseGreaterThanInTemplateList() 1151 PrevTokLocation = RAngleLoc; in ParseGreaterThanInTemplateList() 1153 PrevTokLocation = TokBeforeGreaterLoc; in ParseGreaterThanInTemplateList()
|
| HD | ParseDeclCXX.cpp | 3506 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification() 3773 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification() 3865 SourceLocation SavedPrevTokLocation = PrevTokLocation; in ParseCXXMemberSpecification() 3875 PrevTokLocation = SavedPrevTokLocation; in ParseCXXMemberSpecification() 3902 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace() 3964 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
|
| HD | ParseExpr.cpp | 1939 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(PrevTokLocation), in ParseCastExpression() 2177 Loc = PrevTokLocation; in ParsePostfixExpressionSuffix() 2459 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait()
|
| HD | ParseExprCXX.cpp | 1222 SourceLocation LocEnd = PrevTokLocation; in ParseLambdaIntroducer() 2369 DS.SetRangeEnd(PrevTokLocation); in ParseCXXSimpleTypeSpecifier() 2476 DS.SetRangeEnd(PrevTokLocation); in ParseCXXSimpleTypeSpecifier()
|
| HD | ParseCXXInlineMethods.cpp | 731 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseLexedMemberInitializer()
|
| HD | ParseObjc.cpp | 1901 endLoc = PrevTokLocation; in parseObjCTypeArgsAndProtocolQualifiers() 2193 << SourceRange(diagLoc, PrevTokLocation); in ParseObjCAtImplementationDeclaration()
|
| HD | ParseOpenMP.cpp | 2976 << SourceRange(PrevTok.getLocation(), PrevTokLocation); in ParseOpenMPSimpleVarList()
|
| HD | ParseDecl.cpp | 4509 ConsumedEnd = PrevTokLocation; in ParseDeclarationSpecifiers()
|