Home
last modified time | relevance | path

Searched refs:RawLex (Results 1 – 5 of 5) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp101 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()
[all …]
DRewriteMacros.cpp68 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in LexRawTokensFromMainFile() local
71 RawLex.SetCommentRetentionState(true); in LexRawTokensFromMainFile()
75 RawLex.LexFromRawLexer(RawTok); in LexRawTokensFromMainFile()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Rewrite/
DTokenRewriter.cpp32 Lexer RawLex(FID, FromFile, SM, LangOpts); in TokenRewriter() local
35 RawLex.SetKeepWhitespaceMode(true); in TokenRewriter()
39 RawLex.LexFromRawLexer(RawTok); in TokenRewriter()
50 RawLex.LexFromRawLexer(RawTok); in TokenRewriter()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/
DFrontendActions.cpp780 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in ExecuteAction() local
781 RawLex.SetKeepWhitespaceMode(true); in ExecuteAction()
784 RawLex.LexFromRawLexer(RawTok); in ExecuteAction()
788 RawLex.LexFromRawLexer(RawTok); in ExecuteAction()
DVerifyDiagnosticConsumer.cpp831 Lexer RawLex(FID, FromFile, SM, LangOpts); in findDirectives() local
834 RawLex.SetCommentRetentionState(true); in findDirectives()
841 RawLex.LexFromRawLexer(Tok); in findDirectives()
844 std::string Comment = RawLex.getSpelling(Tok, SM, LangOpts); in findDirectives()