Lines Matching refs:RawToken
101 StringRef NextIdentifierName(Lexer &RawLex, Token &RawToken);
362 Token &RawToken) { in NextIdentifierName() argument
363 RawLex.LexFromRawLexer(RawToken); in NextIdentifierName()
364 if (RawToken.is(tok::raw_identifier)) in NextIdentifierName()
365 PP.LookUpIdentifierInfo(RawToken); in NextIdentifierName()
366 if (RawToken.is(tok::identifier)) in NextIdentifierName()
367 return RawToken.getIdentifierInfo()->getName(); in NextIdentifierName()
404 Token RawToken; in Process() local
405 RawLex.LexFromRawLexer(RawToken); in Process()
409 while (RawToken.isNot(tok::eof)) { in Process()
410 if (RawToken.is(tok::hash) && RawToken.isAtStartOfLine()) { in Process()
412 Token HashToken = RawToken; in Process()
413 RawLex.LexFromRawLexer(RawToken); in Process()
414 if (RawToken.is(tok::raw_identifier)) in Process()
415 PP.LookUpIdentifierInfo(RawToken); in Process()
416 if (RawToken.getIdentifierInfo() != nullptr) { in Process()
417 switch (RawToken.getIdentifierInfo()->getPPKeywordID()) { in Process()
452 StringRef Identifier = NextIdentifierName(RawLex, RawToken); in Process()
454 if (NextIdentifierName(RawLex, RawToken) == "system_header") { in Process()
459 FileType = SM.getFileCharacteristic(RawToken.getLocation()); in Process()
472 bool elif = (RawToken.getIdentifierInfo()->getPPKeywordID() == in Process()
474 bool isTrue = IsIfAtLocationTrue(RawToken.getLocation()); in Process()
479 RawLex.LexFromRawLexer(RawToken); in Process()
480 } while (!RawToken.is(tok::eod) && RawToken.isNot(tok::eof)); in Process()
492 SM.getFileOffset(RawToken.getLocation()) + in Process()
493 RawToken.getLength(), in Process()
512 RawLex.LexFromRawLexer(RawToken); in Process()
513 } while (RawToken.isNot(tok::eod) && RawToken.isNot(tok::eof)); in Process()
515 SM.getFileOffset(RawToken.getLocation()) + in Process()
516 RawToken.getLength(), in Process()
528 RawLex.LexFromRawLexer(RawToken); in Process()