Searched refs:NextTok (Results 1 – 8 of 8) sorted by relevance
505 auto *NextTok = Tokens->getNextNonComment(); in calculateBraceTypes() local509 while (NextTok->is(tok::hash)) { in calculateBraceTypes()510 NextTok = Tokens->getNextToken(); in calculateBraceTypes()511 if (NextTok->is(tok::pp_not_keyword)) in calculateBraceTypes()514 NextTok = Tokens->getNextToken(); in calculateBraceTypes()515 } while (NextTok->NewlinesBefore == 0 && NextTok->isNot(tok::eof)); in calculateBraceTypes()517 while (NextTok->is(tok::comment)) in calculateBraceTypes()518 NextTok = Tokens->getNextToken(); in calculateBraceTypes()551 ProbablyBracedList = NextTok->isOneOf(tok::comma, tok::r_square); in calculateBraceTypes()555 bool NextIsObjCMethod = NextTok->isOneOf(tok::plus, tok::minus) && in calculateBraceTypes()[all …]
232 const FormatToken *NextTok);
2681 std::optional<Token> NextTok = Lexer::findNextToken( in fixVarDeclWithArray() local2683 while (NextTok && !NextTok->is(tok::l_square) && in fixVarDeclWithArray()2684 NextTok->getLocation() <= D->getSourceRange().getEnd()) in fixVarDeclWithArray()2685 NextTok = Lexer::findNextToken(NextTok->getLocation(), in fixVarDeclWithArray()2687 if (!NextTok) in fixVarDeclWithArray()2689 const SourceLocation LSqBracketLoc = NextTok->getLocation(); in fixVarDeclWithArray()
1246 AsmToken NextTok; in Lex() local1247 MutableArrayRef<AsmToken> Buf(NextTok); in Lex()1249 if (ReadCount && NextTok.is(AsmToken::Identifier) && in Lex()1250 (NextTok.getString().equals_insensitive("equ") || in Lex()1251 NextTok.getString().equals_insensitive("textequ"))) { in Lex()3882 const AsmToken NextTok = peekTok(); in parseRealInstList() local3883 if (NextTok.is(AsmToken::Identifier) && in parseRealInstList()3884 NextTok.getString().equals_insensitive("dup")) { in parseRealInstList()4243 const AsmToken NextTok = peekTok(); in parseStructInstList() local4244 if (NextTok.is(AsmToken::Identifier) && in parseStructInstList()[all …]
1973 const AsmToken &NextTok = getLexer().peekTok(); in ParseIntelExpression() local1974 if (NextTok.is(AsmToken::Identifier) && in ParseIntelExpression()1975 NextTok.getIdentifier().equals_insensitive("ptr")) { in ParseIntelExpression()3282 StringRef NextTok = Parser.getTok().getString(); in ParseInstruction() local3283 if (Parser.isParsingMasm() ? NextTok.equals_insensitive("short") in ParseInstruction()3284 : NextTok == "short") { in ParseInstruction()3293 NextTok.size() + 1); in ParseInstruction()
725 const auto &NextTok = NextToken(); in ParseObjCInterfaceDeclList() local726 if (NextTok.is(tok::code_completion)) { in ParseObjCInterfaceDeclList()732 tok::ObjCKeywordKind DirectiveKind = NextTok.getObjCKeywordID(); in ParseObjCInterfaceDeclList()739 Diag(NextTok, diag::err_objc_unknown_at); in ParseObjCInterfaceDeclList()
4542 const dependency_directives_scan::Token &NextTok = in LexDependencyDirectiveToken() local4544 if (BufferStart + NextTok.Offset >= BufferPtr) in LexDependencyDirectiveToken()
3145 const auto& NextTok = peekToken(); in parseImm() local3150 if (!IsReal && Tok.is(AsmToken::Minus) && NextTok.is(AsmToken::Real)) { in parseImm()