Home
last modified time | relevance | path

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

/external/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp82 bool HandleHasInclude(FileID FileId, Lexer &RawLex,
87 StringRef NextIdentifierName(Lexer &RawLex, Token &RawToken);
317 StringRef InclusionRewriter::NextIdentifierName(Lexer &RawLex, in NextIdentifierName() argument
319 RawLex.LexFromRawLexer(RawToken); in NextIdentifierName()
330 FileID FileId, Lexer &RawLex, const DirectoryLookup *Lookup, Token &Tok, in HandleHasInclude() argument
333 RawLex.LexFromRawLexer(Tok); in HandleHasInclude()
337 RawLex.LexFromRawLexer(Tok); in HandleHasInclude()
345 RawLex.LexFromRawLexer(Tok); in HandleHasInclude()
364 RawLex.LexFromRawLexer(Tok); in HandleHasInclude()
380 RawLex.LexFromRawLexer(Tok); in HandleHasInclude()
[all …]
DRewriteMacros.cpp69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in LexRawTokensFromMainFile() local
72 RawLex.SetCommentRetentionState(true); in LexRawTokensFromMainFile()
76 RawLex.LexFromRawLexer(RawTok); in LexRawTokensFromMainFile()
/external/clang/lib/Rewrite/
DTokenRewriter.cpp27 Lexer RawLex(FID, FromFile, SM, LangOpts); in TokenRewriter() local
30 RawLex.SetKeepWhitespaceMode(true); in TokenRewriter()
34 RawLex.LexFromRawLexer(RawTok); in TokenRewriter()
45 RawLex.LexFromRawLexer(RawTok); in TokenRewriter()
/external/clang/lib/Frontend/
DFrontendActions.cpp624 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in ExecuteAction() local
625 RawLex.SetKeepWhitespaceMode(true); in ExecuteAction()
628 RawLex.LexFromRawLexer(RawTok); in ExecuteAction()
632 RawLex.LexFromRawLexer(RawTok); in ExecuteAction()
DVerifyDiagnosticConsumer.cpp587 Lexer RawLex(FID, FromFile, SM, LangOpts); in findDirectives() local
590 RawLex.SetCommentRetentionState(true); in findDirectives()
597 RawLex.LexFromRawLexer(Tok); in findDirectives()
600 std::string Comment = RawLex.getSpelling(Tok, SM, LangOpts); in findDirectives()