Home
last modified time | relevance | path

Searched refs:peekNextToken (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DFormatTokenSource.h48 virtual FormatToken *peekNextToken(bool SkipComment = false) = 0;
106 FormatToken *peekNextToken(bool SkipComment = false) override {
223 FormatToken *peekNextToken(bool SkipComment) override { in peekNextToken() function
226 return PreviousTokenSource->peekNextToken(SkipComment); in peekNextToken()
H A DUnwrappedLineParser.cpp412 const FormatToken *Next = Tokens->peekNextToken(); in parseLevel()
761 const bool FollowedByComment = Tokens->peekNextToken()->is(tok::comment); in parseBlock()
1189 Tokens->peekNextToken()->is(tok::colon)) { in parsePPDefine()
1333 if (auto Token = Tokens->peekNextToken(/*SkipComment=*/true); in parseModuleImport()
1452 Tokens->peekNextToken()->is(tok::star)) { in parseStructuralElement()
1851 Tokens->peekNextToken(/*SkipComment=*/true), in parseStructuralElement()
2514 const bool MightBeStmtExpr = Tokens->peekNextToken()->is(tok::l_brace); in parseParens()
2528 const auto *Next = Tokens->peekNextToken(); in parseParens()
2849 const bool FollowedByIf = Tokens->peekNextToken()->is(tok::kw_if); in parseIfThenElse()
4208 Tokens->peekNextToken()->isOneOf(tok::l_brace, tok::star))) { in parseJavaScriptEs6ImportExport()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DParser.cpp84 const TokenInfo &peekNextToken() const { return NextToken; } in peekNextToken() function in clang::ast_matchers::dynamic::Parser::CodeTokenizer
409 Error->addError(Tokenizer->peekNextToken().Range, in parseIdentifierPrefixImpl()
502 if (Tokenizer->peekNextToken().Kind == TokenInfo::TK_CodeCompletion) { in parseMatcherBuilder()
561 if (Tokenizer->peekNextToken().Kind == TokenInfo::TK_Period) { in parseMatcherBuilder()
596 : Tokenizer->peekNextToken().Text; in parseMatcherBuilder()
597 Error->addError(Tokenizer->peekNextToken().Range, in parseMatcherBuilder()
669 ArgValue.Text = Tokenizer->peekNextToken().Text; in parseMatcherExpressionImpl()
670 ArgValue.Range = Tokenizer->peekNextToken().Range; in parseMatcherExpressionImpl()
687 if (Tokenizer->peekNextToken().Kind == TokenInfo::TK_Period) { in parseMatcherExpressionImpl()
876 auto NT = Tokenizer.peekNextToken(); in parseExpression()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/
H A DRetireControlUnit.h96 const RUToken &peekNextToken() const;
/freebsd-14.2/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/
H A DRetireControlUnit.cpp73 const RetireControlUnit::RUToken &RetireControlUnit::peekNextToken() const { in peekNextToken() function in llvm::mca::RetireControlUnit