Lines Matching refs:RawToken

97   StringRef NextIdentifierName(Lexer &RawLex, Token &RawToken);
341 Token &RawToken) { in NextIdentifierName() argument
342 RawLex.LexFromRawLexer(RawToken); in NextIdentifierName()
343 if (RawToken.is(tok::raw_identifier)) in NextIdentifierName()
344 PP.LookUpIdentifierInfo(RawToken); in NextIdentifierName()
345 if (RawToken.is(tok::identifier)) in NextIdentifierName()
346 return RawToken.getIdentifierInfo()->getName(); in NextIdentifierName()
382 Token RawToken; in Process() local
383 RawLex.LexFromRawLexer(RawToken); in Process()
387 while (RawToken.isNot(tok::eof)) { in Process()
388 if (RawToken.is(tok::hash) && RawToken.isAtStartOfLine()) { in Process()
390 Token HashToken = RawToken; in Process()
391 RawLex.LexFromRawLexer(RawToken); in Process()
392 if (RawToken.is(tok::raw_identifier)) in Process()
393 PP.LookUpIdentifierInfo(RawToken); in Process()
394 if (RawToken.getIdentifierInfo() != nullptr) { in Process()
395 switch (RawToken.getIdentifierInfo()->getPPKeywordID()) { in Process()
430 StringRef Identifier = NextIdentifierName(RawLex, RawToken); in Process()
432 if (NextIdentifierName(RawLex, RawToken) == "system_header") { in Process()
437 FileType = SM.getFileCharacteristic(RawToken.getLocation()); in Process()
450 bool elif = (RawToken.getIdentifierInfo()->getPPKeywordID() == in Process()
452 bool isTrue = IsIfAtLocationTrue(RawToken.getLocation()); in Process()
457 RawLex.LexFromRawLexer(RawToken); in Process()
458 } while (!RawToken.is(tok::eod) && RawToken.isNot(tok::eof)); in Process()
470 SM.getFileOffset(RawToken.getLocation()) + in Process()
471 RawToken.getLength(), in Process()
490 RawLex.LexFromRawLexer(RawToken); in Process()
491 } while (RawToken.isNot(tok::eod) && RawToken.isNot(tok::eof)); in Process()
493 SM.getFileOffset(RawToken.getLocation()) + in Process()
494 RawToken.getLength(), in Process()
506 RawLex.LexFromRawLexer(RawToken); in Process()