Lines Matching refs:RawLex
101 StringRef NextIdentifierName(Lexer &RawLex, Token &RawToken);
361 StringRef InclusionRewriter::NextIdentifierName(Lexer &RawLex, in NextIdentifierName() argument
363 RawLex.LexFromRawLexer(RawToken); in NextIdentifierName()
384 Lexer RawLex(FileId, FromFile, PP.getSourceManager(), PP.getLangOpts()); in Process() local
385 RawLex.SetCommentRetentionState(false); in Process()
400 unsigned NextToWrite = SM.getFileOffset(RawLex.getSourceLocation()); in Process()
405 RawLex.LexFromRawLexer(RawToken); in Process()
411 RawLex.setParsingPreprocessorDirective(true); in Process()
413 RawLex.LexFromRawLexer(RawToken); in Process()
421 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, NextToWrite, in Process()
452 StringRef Identifier = NextIdentifierName(RawLex, RawToken); in Process()
454 if (NextIdentifierName(RawLex, RawToken) == "system_header") { in Process()
456 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
464 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
479 RawLex.LexFromRawLexer(RawToken); in Process()
510 RawLex.SetKeepWhitespaceMode(true); in Process()
512 RawLex.LexFromRawLexer(RawToken); in Process()
519 RawLex.SetKeepWhitespaceMode(false); in Process()
526 RawLex.setParsingPreprocessorDirective(false); in Process()
528 RawLex.LexFromRawLexer(RawToken); in Process()