Lines Matching refs:RawLex
101 StringRef NextIdentifierName(Lexer &RawLex, Token &RawToken);
369 StringRef InclusionRewriter::NextIdentifierName(Lexer &RawLex, in NextIdentifierName() argument
371 RawLex.LexFromRawLexer(RawToken); in NextIdentifierName()
391 Lexer RawLex(FileId, FromFile, PP.getSourceManager(), PP.getLangOpts()); in Process() local
392 RawLex.SetCommentRetentionState(false); in Process()
407 unsigned NextToWrite = SM.getFileOffset(RawLex.getSourceLocation()); in Process()
412 RawLex.LexFromRawLexer(RawToken); in Process()
418 RawLex.setParsingPreprocessorDirective(true); in Process()
420 RawLex.LexFromRawLexer(RawToken); in Process()
430 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
465 StringRef Identifier = NextIdentifierName(RawLex, RawToken); in Process()
467 if (NextIdentifierName(RawLex, RawToken) == "system_header") { in Process()
469 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
477 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
492 RawLex.LexFromRawLexer(RawToken); in Process()
523 RawLex.SetKeepWhitespaceMode(true); in Process()
525 RawLex.LexFromRawLexer(RawToken); in Process()
532 RawLex.SetKeepWhitespaceMode(false); in Process()
539 RawLex.setParsingPreprocessorDirective(false); in Process()
541 RawLex.LexFromRawLexer(RawToken); in Process()