Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DTokenLexer.cpp781 Token *NextTok = begin_tokens + 1; in updateConsecutiveMacroArgTokens() local
782 for (; NextTok < end_tokens; ++NextTok) { in updateConsecutiveMacroArgTokens()
783 SourceLocation NextLoc = NextTok->getLocation(); in updateConsecutiveMacroArgTokens()
799 Token &LastConsecutiveTok = *(NextTok-1); in updateConsecutiveMacroArgTokens()
811 for (; begin_tokens < NextTok; ++begin_tokens) { in updateConsecutiveMacroArgTokens()
/external/clang/lib/Format/
DUnwrappedLineParser.cpp325 FormatToken *NextTok; in calculateBraceTypes() local
328 NextTok = Tokens->getNextToken(); in calculateBraceTypes()
330 } while (NextTok->is(tok::comment)); in calculateBraceTypes()
342 ProbablyBracedList = NextTok->isOneOf(tok::comma, tok::r_square); in calculateBraceTypes()
346 bool NextIsObjCMethod = NextTok->isOneOf(tok::plus, tok::minus) && in calculateBraceTypes()
347 NextTok->OriginalColumn == 0; in calculateBraceTypes()
358 NextTok->isOneOf(tok::comma, tok::period, tok::colon, in calculateBraceTypes()
361 (NextTok->is(tok::semi) && in calculateBraceTypes()
363 (NextTok->isBinaryOperator() && !NextIsObjCMethod); in calculateBraceTypes()
390 Tok = NextTok; in calculateBraceTypes()
/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()