Lines Matching refs:RawToken

100   StringRef NextIdentifierName(Lexer &RawLex, Token &RawToken);
368 Token &RawToken) { in NextIdentifierName() argument
369 RawLex.LexFromRawLexer(RawToken); in NextIdentifierName()
370 if (RawToken.is(tok::raw_identifier)) in NextIdentifierName()
371 PP.LookUpIdentifierInfo(RawToken); in NextIdentifierName()
372 if (RawToken.is(tok::identifier)) in NextIdentifierName()
373 return RawToken.getIdentifierInfo()->getName(); in NextIdentifierName()
409 Token RawToken; in Process() local
410 RawLex.LexFromRawLexer(RawToken); in Process()
414 while (RawToken.isNot(tok::eof)) { in Process()
415 if (RawToken.is(tok::hash) && RawToken.isAtStartOfLine()) { in Process()
417 Token HashToken = RawToken; in Process()
418 RawLex.LexFromRawLexer(RawToken); in Process()
419 if (RawToken.is(tok::raw_identifier)) in Process()
420 PP.LookUpIdentifierInfo(RawToken); in Process()
421 if (RawToken.getIdentifierInfo() != nullptr) { in Process()
422 switch (RawToken.getIdentifierInfo()->getPPKeywordID()) { in Process()
463 StringRef Identifier = NextIdentifierName(RawLex, RawToken); in Process()
465 if (NextIdentifierName(RawLex, RawToken) == "system_header") { in Process()
470 FileType = SM.getFileCharacteristic(RawToken.getLocation()); in Process()
483 bool elif = (RawToken.getIdentifierInfo()->getPPKeywordID() == in Process()
485 bool isTrue = IsIfAtLocationTrue(RawToken.getLocation()); in Process()
490 RawLex.LexFromRawLexer(RawToken); in Process()
491 } while (!RawToken.is(tok::eod) && RawToken.isNot(tok::eof)); in Process()
503 SM.getFileOffset(RawToken.getLocation()) + in Process()
504 RawToken.getLength(), in Process()
523 RawLex.LexFromRawLexer(RawToken); in Process()
524 } while (RawToken.isNot(tok::eod) && RawToken.isNot(tok::eof)); in Process()
526 SM.getFileOffset(RawToken.getLocation()) + in Process()
527 RawToken.getLength(), in Process()
539 RawLex.LexFromRawLexer(RawToken); in Process()