Lines Matching refs:RawLex

82   bool HandleHasInclude(FileID FileId, Lexer &RawLex,
86 StringRef NextIdentifierName(Lexer &RawLex, Token &RawToken);
301 StringRef InclusionRewriter::NextIdentifierName(Lexer &RawLex, in NextIdentifierName() argument
303 RawLex.LexFromRawLexer(RawToken); in NextIdentifierName()
314 FileID FileId, Lexer &RawLex, const DirectoryLookup *Lookup, Token &Tok, in HandleHasInclude() argument
317 RawLex.LexFromRawLexer(Tok); in HandleHasInclude()
321 RawLex.LexFromRawLexer(Tok); in HandleHasInclude()
329 RawLex.LexFromRawLexer(Tok); in HandleHasInclude()
348 RawLex.LexFromRawLexer(Tok); in HandleHasInclude()
364 RawLex.LexFromRawLexer(Tok); in HandleHasInclude()
394 Lexer RawLex(FileId, &FromFile, PP.getSourceManager(), PP.getLangOpts()); in Process() local
395 RawLex.SetCommentRetentionState(false); in Process()
410 unsigned NextToWrite = SM.getFileOffset(RawLex.getSourceLocation()); in Process()
415 RawLex.LexFromRawLexer(RawToken); in Process()
421 RawLex.setParsingPreprocessorDirective(true); in Process()
423 RawLex.LexFromRawLexer(RawToken); in Process()
431 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, NextToWrite, in Process()
456 StringRef Identifier = NextIdentifierName(RawLex, RawToken); in Process()
458 if (NextIdentifierName(RawLex, RawToken) == "system_header") { in Process()
460 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
468 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
481 RawLex.LexFromRawLexer(RawToken); in Process()
491 if (!HandleHasInclude(FileId, RawLex, nullptr, RawToken, in Process()
501 if (!HandleHasInclude(FileId, RawLex, Lookup, RawToken, in Process()
535 RawLex.SetKeepWhitespaceMode(true); in Process()
537 RawLex.LexFromRawLexer(RawToken); in Process()
544 RawLex.SetKeepWhitespaceMode(false); in Process()
550 RawLex.setParsingPreprocessorDirective(false); in Process()
552 RawLex.LexFromRawLexer(RawToken); in Process()