Lines Matching refs:RawLex
100 StringRef NextIdentifierName(Lexer &RawLex, Token &RawToken);
367 StringRef InclusionRewriter::NextIdentifierName(Lexer &RawLex, in NextIdentifierName() argument
369 RawLex.LexFromRawLexer(RawToken); in NextIdentifierName()
389 Lexer RawLex(FileId, FromFile, PP.getSourceManager(), PP.getLangOpts()); in Process() local
390 RawLex.SetCommentRetentionState(false); in Process()
405 unsigned NextToWrite = SM.getFileOffset(RawLex.getSourceLocation()); in Process()
410 RawLex.LexFromRawLexer(RawToken); in Process()
416 RawLex.setParsingPreprocessorDirective(true); in Process()
418 RawLex.LexFromRawLexer(RawToken); in Process()
428 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
463 StringRef Identifier = NextIdentifierName(RawLex, RawToken); in Process()
465 if (NextIdentifierName(RawLex, RawToken) == "system_header") { in Process()
467 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
475 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
490 RawLex.LexFromRawLexer(RawToken); in Process()
521 RawLex.SetKeepWhitespaceMode(true); in Process()
523 RawLex.LexFromRawLexer(RawToken); in Process()
530 RawLex.SetKeepWhitespaceMode(false); in Process()
537 RawLex.setParsingPreprocessorDirective(false); in Process()
539 RawLex.LexFromRawLexer(RawToken); in Process()