Home
last modified time | relevance | path

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

/freebsd-14-stable/contrib/llvm-project/clang/include/clang/Parse/
HDParser.h79 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/
HDParser.cpp145 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()
HDParseStmt.cpp901 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()
HDParseTemplate.cpp1061 SourceLocation TokBeforeGreaterLoc = PrevTokLocation; in ParseGreaterThanInTemplateList()
1151 PrevTokLocation = RAngleLoc; in ParseGreaterThanInTemplateList()
1153 PrevTokLocation = TokBeforeGreaterLoc; in ParseGreaterThanInTemplateList()
HDParseDeclCXX.cpp3506 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()
HDParseExpr.cpp1939 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(PrevTokLocation), in ParseCastExpression()
2177 Loc = PrevTokLocation; in ParsePostfixExpressionSuffix()
2459 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait()
HDParseExprCXX.cpp1222 SourceLocation LocEnd = PrevTokLocation; in ParseLambdaIntroducer()
2369 DS.SetRangeEnd(PrevTokLocation); in ParseCXXSimpleTypeSpecifier()
2476 DS.SetRangeEnd(PrevTokLocation); in ParseCXXSimpleTypeSpecifier()
HDParseCXXInlineMethods.cpp731 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseLexedMemberInitializer()
HDParseObjc.cpp1901 endLoc = PrevTokLocation; in parseObjCTypeArgsAndProtocolQualifiers()
2193 << SourceRange(diagLoc, PrevTokLocation); in ParseObjCAtImplementationDeclaration()
HDParseOpenMP.cpp2976 << SourceRange(PrevTok.getLocation(), PrevTokLocation); in ParseOpenMPSimpleVarList()
HDParseDecl.cpp4509 ConsumedEnd = PrevTokLocation; in ParseDeclarationSpecifiers()