Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DTokenLexer.cpp784 Token *NextTok = begin_tokens + 1; in updateConsecutiveMacroArgTokens() local
785 for (; NextTok < end_tokens; ++NextTok) { in updateConsecutiveMacroArgTokens()
786 SourceLocation NextLoc = NextTok->getLocation(); in updateConsecutiveMacroArgTokens()
806 Token &LastConsecutiveTok = *(NextTok-1); in updateConsecutiveMacroArgTokens()
818 for (; begin_tokens < NextTok; ++begin_tokens) { in updateConsecutiveMacroArgTokens()
/external/clang/lib/Format/
DUnwrappedLineParser.cpp326 FormatToken *NextTok; in calculateBraceTypes() local
329 NextTok = Tokens->getNextToken(); in calculateBraceTypes()
331 } while (NextTok->is(tok::comment)); in calculateBraceTypes()
350 ProbablyBracedList = NextTok->isOneOf(tok::comma, tok::r_square); in calculateBraceTypes()
354 bool NextIsObjCMethod = NextTok->isOneOf(tok::plus, tok::minus) && in calculateBraceTypes()
355 NextTok->OriginalColumn == 0; in calculateBraceTypes()
367 NextTok->isOneOf(Keywords.kw_of, Keywords.kw_in)) || in calculateBraceTypes()
368 NextTok->isOneOf(tok::comma, tok::period, tok::colon, in calculateBraceTypes()
371 (NextTok->is(tok::semi) && in calculateBraceTypes()
373 (NextTok->isBinaryOperator() && !NextIsObjCMethod); in calculateBraceTypes()
[all …]
/external/clang/lib/Frontend/
DCacheTokens.cpp339 Token NextTok; in LexTokens() local
340 L.LexFromRawLexer(NextTok); in LexTokens()
344 if (NextTok.isAtStartOfLine()) in LexTokens()
349 Tok = NextTok; in LexTokens()
/external/clang/lib/Parse/
DParseExprCXX.cpp112 Token NextTok = GetLookAheadToken(1); in CheckForLParenAfterColonColon() local
113 Token StarTok = NextTok; in CheckForLParenAfterColonColon()
123 NextTok = StarTok.is(tok::star) ? GetLookAheadToken(2) : GetLookAheadToken(1); in CheckForLParenAfterColonColon()
124 if (NextTok.is(tok::r_paren)) { in CheckForLParenAfterColonColon()
125 RParen = NextTok; in CheckForLParenAfterColonColon()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp2292 StringRef NextTok = Parser.getTok().getString(); in ParseInstruction() local
2293 if (NextTok == "short") { in ParseInstruction()
2301 NextTok.size() + 1); in ParseInstruction()