Home
last modified time | relevance | path

Searched refs:NextTok (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineParser.cpp494 FormatToken *NextTok; in calculateBraceTypes() local
496 NextTok = Tokens->getNextToken(); in calculateBraceTypes()
497 } while (NextTok->is(tok::comment)); in calculateBraceTypes()
501 while (NextTok->is(tok::hash)) { in calculateBraceTypes()
503 NextTok = Tokens->getNextToken(); in calculateBraceTypes()
504 } while (NextTok->NewlinesBefore == 0 && NextTok->isNot(tok::eof)); in calculateBraceTypes()
506 while (NextTok->is(tok::comment)) in calculateBraceTypes()
507 NextTok = Tokens->getNextToken(); in calculateBraceTypes()
641 Tok = NextTok; in calculateBraceTypes()
4655 const FormatToken *NextTok) { in distributeComments() argument
[all …]
H A DUnwrappedLineParser.h238 const FormatToken *NextTok);
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMasmParser.cpp1246 AsmToken NextTok; in Lex() local
1247 MutableArrayRef<AsmToken> Buf(NextTok); in Lex()
3881 const AsmToken NextTok = peekTok(); in parseRealInstList() local
3882 if (NextTok.is(AsmToken::Identifier) && in parseRealInstList()
3883 NextTok.getString().equals_insensitive("dup")) { in parseRealInstList()
4242 const AsmToken NextTok = peekTok(); in parseStructInstList() local
4243 if (NextTok.is(AsmToken::Identifier) && in parseStructInstList()
4244 NextTok.getString().equals_insensitive("dup")) { in parseStructInstList()
4509 AsmToken NextTok = getTok(); in parseDirectiveStruct() local
4511 if (NextTok.isNot(AsmToken::Comma) && in parseDirectiveStruct()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1968 const AsmToken &NextTok = getLexer().peekTok(); in ParseIntelExpression() local
1969 if (NextTok.is(AsmToken::Identifier) && in ParseIntelExpression()
1970 NextTok.getIdentifier().equals_insensitive("ptr")) { in ParseIntelExpression()
3211 StringRef NextTok = Parser.getTok().getString(); in ParseInstruction() local
3212 if (Parser.isParsingMasm() ? NextTok.equals_insensitive("short") in ParseInstruction()
3213 : NextTok == "short") { in ParseInstruction()
3222 NextTok.size() + 1); in ParseInstruction()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp723 const auto &NextTok = NextToken(); in ParseObjCInterfaceDeclList() local
724 if (NextTok.is(tok::code_completion)) { in ParseObjCInterfaceDeclList()
730 tok::ObjCKeywordKind DirectiveKind = NextTok.getObjCKeywordID(); in ParseObjCInterfaceDeclList()
737 Diag(NextTok, diag::err_objc_unknown_at); in ParseObjCInterfaceDeclList()
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp4486 const dependency_directives_scan::Token &NextTok = in LexDependencyDirectiveToken() local
4488 if (BufferStart + NextTok.Offset >= BufferPtr) in LexDependencyDirectiveToken()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp3005 const auto& NextTok = peekToken(); in parseImm() local
3010 if (!IsReal && Tok.is(AsmToken::Minus) && NextTok.is(AsmToken::Real)) { in parseImm()