Home
last modified time | relevance | path

Searched refs:CurToken (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/Lex/
DTokenLexer.cpp34 CurToken = 0; in Init()
95 CurToken = 0; in Init()
429 if (CurToken == 0) in Lex()
438 bool isFirstToken = CurToken == 0; in Lex()
441 Tok = Tokens[CurToken++]; in Lex()
448 (Tokens[CurToken].is(tok::hashhash) || in Lex()
453 isWideStringLiteralFromMacro(Tok, Tokens[CurToken])))) { in Lex()
527 if (PP.getLangOpts().MicrosoftExt && (CurToken >= 2) && in PasteTokens()
528 Tokens[CurToken - 2].is(tok::hashhash)) in PasteTokens()
537 PasteOpLoc = Tokens[CurToken].getLocation(); in PasteTokens()
[all …]
/external/clang/lib/AST/
DCommentParser.cpp43 unsigned CurToken; member
54 return Pos.CurToken >= Toks.size(); in isEnd()
60 const Token &Tok = Toks[Pos.CurToken]; in setupBuffer()
84 Pos.CurToken++; in consumeChar()
149 Pos.CurToken = 0; in TextTokenRetokenizer()
246 Pos.CurToken++; in putBackLeftoverTokens()
249 P.putBack(llvm::makeArrayRef(Toks.begin() + Pos.CurToken, Toks.end())); in putBackLeftoverTokens()
250 Pos.CurToken = Toks.size(); in putBackLeftoverTokens()
/external/clang/include/clang/Lex/
DTokenLexer.h60 unsigned CurToken; variable
159 return CurToken == NumTokens; in isAtEnd()