Home
last modified time | relevance | path

Searched refs:GetLookAheadToken (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseExprCXX.cpp88 Token SecondToken = GetLookAheadToken(2); in CheckForTemplateAndDigraph()
339 if (CheckForDestructor && GetLookAheadToken(2).is(tok::tilde)) { in ParseOptionalCXXScopeSpecifier()
409 if (Next.is(tok::coloncolon) && GetLookAheadToken(2).is(tok::l_brace)) { in ParseOptionalCXXScopeSpecifier()
421 if (CheckForDestructor && GetLookAheadToken(2).is(tok::tilde)) { in ParseOptionalCXXScopeSpecifier()
427 const Token &Next2 = GetLookAheadToken(2); in ParseOptionalCXXScopeSpecifier()
759 const Token After = GetLookAheadToken(2); in TryParseLambdaExpression()
3272 const Token Next = GetLookAheadToken(2); in ParseCXXDeleteExpression()
3277 (GetLookAheadToken(3).is(tok::r_paren) || in ParseCXXDeleteExpression()
3278 (GetLookAheadToken(3).is(tok::identifier) && in ParseCXXDeleteExpression()
3279 GetLookAheadToken(4).is(tok::identifier))))) { in ParseCXXDeleteExpression()
H A DParseDecl.cpp2924 const Token &Next = HasScope ? GetLookAheadToken(2) : NextToken(); in DiagnoseMissingSemiAfterTagDefinition()
3069 !DS.hasTypeSpecifier() && GetLookAheadToken(1).is(tok::less)) in ParseDeclarationSpecifiers()
3222 GetLookAheadToken(2).isOneOf(tok::kw_auto, tok::kw_decltype)) { in ParseDeclarationSpecifiers()
3638 if (isKnownToBeTypeSpecifier(GetLookAheadToken(1))) { in ParseDeclarationSpecifiers()
5294 GetLookAheadToken(2).isOneOf(tok::kw_auto, tok::kw_decltype); in isDeclarationSpecifier()
6257 GetLookAheadToken(2).isOneOf(tok::comma, tok::r_square)) && in ParseDecompositionDeclarator()
6259 GetLookAheadToken(2).isOneOf(tok::equal, tok::l_brace))) in ParseDecompositionDeclarator()
6586 GetLookAheadToken(0).is(tok::kw_noexcept) && in ParseFunctionDeclarator()
6587 GetLookAheadToken(1).is(tok::l_paren) && in ParseFunctionDeclarator()
6588 GetLookAheadToken(2).is(tok::kw_noexcept) && in ParseFunctionDeclarator()
[all …]
H A DParseTemplate.cpp537 switch (GetLookAheadToken(2).getKind()) { in isStartOfTemplateTypeParameter()
556 !GetLookAheadToken(Tok.is(tok::annot_cxxscope) ? 2 : 1) in isStartOfTemplateTypeParameter()
575 Next = GetLookAheadToken(2); in isStartOfTemplateTypeParameter()
H A DParseObjc.cpp248 !isKnownToBeTypeSpecifier(GetLookAheadToken(1))) { // we have a category. in ParseObjCAtInterfaceDeclaration()
2525 Token AfterAt = GetLookAheadToken(1); in ParseObjCTryStmt()
2858 if (GetLookAheadToken(1).is(tok::l_brace) && in ParseObjCAtExpression()
2976 return GetLookAheadToken(1).is(tok::identifier) && in isSimpleObjCMessageExpression()
2977 GetLookAheadToken(2).is(tok::identifier); in isSimpleObjCMessageExpression()
2997 const Token &AfterNext = GetLookAheadToken(2); in isStartOfObjCClassMessageMissingOpenBracket()
H A DParseStmt.cpp1015 while (GetLookAheadToken(LookAhead).is(tok::semi)) { in handleExprStmt()
1021 IsStmtExprResult = GetLookAheadToken(LookAhead).is(tok::r_brace) && in handleExprStmt()
1022 GetLookAheadToken(LookAhead + 1).is(tok::r_paren); in handleExprStmt()
H A DParseTentative.cpp674 if (GetLookAheadToken(2).is(tok::kw_using)) in isCXX11AttributeSpecifier()
1255 GetLookAheadToken(Lookahead + 1).isOneOf(tok::kw_auto, tok::kw_decltype, in isCXXDeclarationSpecifier()
H A DParseDeclCXX.cpp93 GetLookAheadToken(2).is(tok::identifier)))) { in ParseNamespace()
2539 isAccessDecl = GetLookAheadToken(2).is(tok::semi); in ParseCXXClassMemberDeclaration()
2709 auto &After = GetLookAheadToken(2); in ParseCXXClassMemberDeclaration()
H A DParser.cpp632 GetLookAheadToken(2).isNot(tok::coloncolon)) { in ParseTopLevelDecl()
H A DParseExpr.cpp2993 GetLookAheadToken(1).isNot(tok::period)) { in ParseParenExpression()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DParser.h783 const Token &GetLookAheadToken(unsigned N) { in GetLookAheadToken() function