Lines Matching refs:RawToken
101 StringRef NextIdentifierName(Lexer &RawLex, Token &RawToken);
370 Token &RawToken) { in NextIdentifierName() argument
371 RawLex.LexFromRawLexer(RawToken); in NextIdentifierName()
372 if (RawToken.is(tok::raw_identifier)) in NextIdentifierName()
373 PP.LookUpIdentifierInfo(RawToken); in NextIdentifierName()
374 if (RawToken.is(tok::identifier)) in NextIdentifierName()
375 return RawToken.getIdentifierInfo()->getName(); in NextIdentifierName()
411 Token RawToken; in Process() local
412 RawLex.LexFromRawLexer(RawToken); in Process()
416 while (RawToken.isNot(tok::eof)) { in Process()
417 if (RawToken.is(tok::hash) && RawToken.isAtStartOfLine()) { in Process()
419 Token HashToken = RawToken; in Process()
420 RawLex.LexFromRawLexer(RawToken); in Process()
421 if (RawToken.is(tok::raw_identifier)) in Process()
422 PP.LookUpIdentifierInfo(RawToken); in Process()
423 if (RawToken.getIdentifierInfo() != nullptr) { in Process()
424 switch (RawToken.getIdentifierInfo()->getPPKeywordID()) { in Process()
465 StringRef Identifier = NextIdentifierName(RawLex, RawToken); in Process()
467 if (NextIdentifierName(RawLex, RawToken) == "system_header") { in Process()
472 FileType = SM.getFileCharacteristic(RawToken.getLocation()); in Process()
485 bool elif = (RawToken.getIdentifierInfo()->getPPKeywordID() == in Process()
487 bool isTrue = IsIfAtLocationTrue(RawToken.getLocation()); in Process()
492 RawLex.LexFromRawLexer(RawToken); in Process()
493 } while (!RawToken.is(tok::eod) && RawToken.isNot(tok::eof)); in Process()
505 SM.getFileOffset(RawToken.getLocation()) + in Process()
506 RawToken.getLength(), in Process()
525 RawLex.LexFromRawLexer(RawToken); in Process()
526 } while (RawToken.isNot(tok::eod) && RawToken.isNot(tok::eof)); in Process()
528 SM.getFileOffset(RawToken.getLocation()) + in Process()
529 RawToken.getLength(), in Process()
541 RawLex.LexFromRawLexer(RawToken); in Process()