Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A 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 …]
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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DFrontendActions.cpp758 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in ExecuteAction() local
759 RawLex.SetKeepWhitespaceMode(true); in ExecuteAction()
762 RawLex.LexFromRawLexer(RawTok); in ExecuteAction()
766 RawLex.LexFromRawLexer(RawTok); in ExecuteAction()
H A 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()