Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp342 RawLex.LexFromRawLexer(RawToken); in NextIdentifierName()
363 RawLex.SetCommentRetentionState(false); in Process()
383 RawLex.LexFromRawLexer(RawToken); in Process()
389 RawLex.setParsingPreprocessorDirective(true); in Process()
391 RawLex.LexFromRawLexer(RawToken); in Process()
457 RawLex.LexFromRawLexer(RawToken); in Process()
488 RawLex.SetKeepWhitespaceMode(true); in Process()
490 RawLex.LexFromRawLexer(RawToken); in Process()
497 RawLex.SetKeepWhitespaceMode(false); in Process()
504 RawLex.setParsingPreprocessorDirective(false); in Process()
[all …]
H A 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()
/llvm-project-15.0.7/clang/lib/Rewrite/
H A 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()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp828 Lexer RawLex(FID, FromFile, SM, LangOpts); in findDirectives() local
831 RawLex.SetCommentRetentionState(true); in findDirectives()
838 RawLex.LexFromRawLexer(Tok); in findDirectives()
841 std::string Comment = RawLex.getSpelling(Tok, SM, LangOpts); in findDirectives()
H A DFrontendActions.cpp968 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in ExecuteAction() local
969 RawLex.SetKeepWhitespaceMode(true); in ExecuteAction()
972 RawLex.LexFromRawLexer(RawTok); in ExecuteAction()
976 RawLex.LexFromRawLexer(RawTok); in ExecuteAction()