Searched refs:NextTok (Results 1 – 9 of 9) sorted by relevance
499 auto *NextTok = Tokens->getNextNonComment(); in calculateBraceTypes() local503 while (NextTok->is(tok::hash)) { in calculateBraceTypes()504 NextTok = Tokens->getNextToken(); in calculateBraceTypes()505 if (NextTok->isOneOf(tok::pp_not_keyword, tok::pp_define)) in calculateBraceTypes()508 NextTok = Tokens->getNextToken(); in calculateBraceTypes()509 } while (!NextTok->HasUnescapedNewline && NextTok->isNot(tok::eof)); in calculateBraceTypes()511 while (NextTok->is(tok::comment)) in calculateBraceTypes()512 NextTok = Tokens->getNextToken(); in calculateBraceTypes()545 ProbablyBracedList = NextTok->isOneOf(tok::comma, tok::r_square); in calculateBraceTypes()549 bool NextIsObjCMethod = NextTok->isOneOf(tok::plus, tok::minus) && in calculateBraceTypes()[all …]
235 const FormatToken *NextTok);
1138 AsmToken NextTok; in Lex() local1139 MutableArrayRef<AsmToken> Buf(NextTok); in Lex()1141 if (ReadCount && NextTok.is(AsmToken::Identifier) && in Lex()1142 (NextTok.getString().equals_insensitive("equ") || in Lex()1143 NextTok.getString().equals_insensitive("textequ"))) { in Lex()3407 const AsmToken NextTok = peekTok(); in parseRealInstList() local3408 if (NextTok.is(AsmToken::Identifier) && in parseRealInstList()3409 NextTok.getString().equals_insensitive("dup")) { in parseRealInstList()3767 const AsmToken NextTok = peekTok(); in parseStructInstList() local3768 if (NextTok.is(AsmToken::Identifier) && in parseStructInstList()[all …]
682 AsmToken NextTok = Lexer.peekTok(); in parseInstruction() local683 return NextTok.getKind() == AsmToken::Identifier && in parseInstruction()684 NextTok.getIdentifier().starts_with("catch"); in parseInstruction()
3642 std::optional<Token> NextTok = Lexer::findNextToken( in fixVarDeclWithArray() local3644 while (NextTok && !NextTok->is(tok::l_square) && in fixVarDeclWithArray()3645 NextTok->getLocation() <= D->getSourceRange().getEnd()) in fixVarDeclWithArray()3646 NextTok = Lexer::findNextToken(NextTok->getLocation(), in fixVarDeclWithArray()3648 if (!NextTok) in fixVarDeclWithArray()3650 const SourceLocation LSqBracketLoc = NextTok->getLocation(); in fixVarDeclWithArray()
1994 const AsmToken &NextTok = getLexer().peekTok(); in ParseIntelExpression() local1995 if (NextTok.is(AsmToken::Identifier) && in ParseIntelExpression()1996 NextTok.getIdentifier().equals_insensitive("ptr")) { in ParseIntelExpression()3305 StringRef NextTok = Parser.getTok().getString(); in parseInstruction() local3306 if (Parser.isParsingMasm() ? NextTok.equals_insensitive("short") in parseInstruction()3307 : NextTok == "short") { in parseInstruction()3316 NextTok.size() + 1); in parseInstruction()
644 const auto &NextTok = NextToken(); in ParseObjCInterfaceDeclList() local645 if (NextTok.is(tok::code_completion)) { in ParseObjCInterfaceDeclList()651 tok::ObjCKeywordKind DirectiveKind = NextTok.getObjCKeywordID(); in ParseObjCInterfaceDeclList()658 Diag(NextTok, diag::err_objc_unknown_at); in ParseObjCInterfaceDeclList()
4569 const dependency_directives_scan::Token &NextTok = in LexDependencyDirectiveToken() local4571 if (BufferStart + NextTok.Offset >= BufferPtr) in LexDependencyDirectiveToken()
3271 const auto& NextTok = peekToken(); in parseImm() local3276 if (!IsReal && Tok.is(AsmToken::Minus) && NextTok.is(AsmToken::Real)) { in parseImm()