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,
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()
[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.cpp576 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in ExecuteAction() local
577 RawLex.SetKeepWhitespaceMode(true); in ExecuteAction()
580 RawLex.LexFromRawLexer(RawTok); in ExecuteAction()
584 RawLex.LexFromRawLexer(RawTok); in ExecuteAction()
DVerifyDiagnosticConsumer.cpp589 Lexer RawLex(FID, FromFile, SM, LangOpts); in findDirectives() local
592 RawLex.SetCommentRetentionState(true); in findDirectives()
599 RawLex.LexFromRawLexer(Tok); in findDirectives()
602 std::string Comment = RawLex.getSpelling(Tok, SM, LangOpts); in findDirectives()