Home | History | Annotate | Download | only in Frontend

Lines Matching defs:Tok

80                         const DirectoryLookup *Lookup, Token &Tok,
252 } while (!DirectiveToken.is(tok::eod) && DirectiveToken.isNot(tok::eof));
268 if (RawToken.is(tok::raw_identifier))
270 if (RawToken.is(tok::identifier))
278 FileID FileId, Lexer &RawLex, const DirectoryLookup *Lookup, Token &Tok,
281 RawLex.LexFromRawLexer(Tok);
282 if (Tok.isNot(tok::l_paren))
285 RawLex.LexFromRawLexer(Tok);
292 if (Tok.is(tok::less)) {
293 RawLex.LexFromRawLexer(Tok);
297 if (Tok.is(tok::eod)) // Sanity check.
300 if (Tok.is(tok::raw_identifier))
301 PP.LookUpIdentifierInfo(Tok);
306 StringRef TmpName = PP.getSpelling(Tok, TmpBuffer, &Invalid);
312 RawLex.LexFromRawLexer(Tok);
313 } while (Tok.isNot(tok::greater));
318 if (Tok.isNot(tok::string_literal))
322 Filename = PP.getSpelling(Tok, FilenameBuffer, &Invalid);
328 RawLex.LexFromRawLexer(Tok);
329 if (Tok.isNot(tok::r_paren))
334 bool isAngled = PP.GetIncludeFilenameSpelling(Tok.getLocation(), Filename);
380 while (RawToken.isNot(tok::eof)) {
381 if (RawToken.is(tok::hash) && RawToken.isAtStartOfLine()) {
385 if (RawToken.is(tok::raw_identifier))
389 case tok::pp_include:
390 case tok::pp_include_next:
391 case tok::pp_import: {
416 case tok::pp_pragma: {
435 case tok::pp_if:
436 case tok::pp_elif: {
438 tok::pp_elif);
443 if (RawToken.is(tok::raw_identifier))
446 if (RawToken.is(tok::identifier)) {
479 } while (RawToken.isNot(tok::eod));
489 case tok::pp_endif:
490 case tok::pp_else: {
499 } while (RawToken.isNot(tok::eod) && RawToken.isNot(tok::eof));
533 Token Tok;
541 PP.Lex(Tok);
542 } while (Tok.isNot(tok::eof));