Home | History | Annotate | Download | only in Rewrite

Lines Matching refs:InclusionRewriter

1 //===--- InclusionRewriter.cpp - Rewrite includes into their expansions ---===//
29 class InclusionRewriter : public PPCallbacks {
53 InclusionRewriter(Preprocessor &PP, raw_ostream &OS, bool ShowLineMarkers,
92 /// Initializes an InclusionRewriter with a \p PP source and \p OS destination.
93 InclusionRewriter::InclusionRewriter(Preprocessor &PP, raw_ostream &OS,
105 void InclusionRewriter::WriteLineInfo(const char *Filename, int Line,
134 void InclusionRewriter::WriteImplicitModuleImport(const Module *Mod) {
141 void InclusionRewriter::FileChanged(SourceLocation Loc,
160 void InclusionRewriter::FileSkipped(const FileEntry &/*SkippedFile*/,
173 void InclusionRewriter::InclusionDirective(SourceLocation HashLoc,
196 const InclusionRewriter::IncludedFile *
197 InclusionRewriter::FindIncludeAtLocation(SourceLocation Loc) const {
207 InclusionRewriter::FindModuleAtLocation(SourceLocation Loc) const {
230 void InclusionRewriter::detectMainFileEOL() {
241 void InclusionRewriter::OutputContentUpTo(const MemoryBuffer &FromFile,
292 void InclusionRewriter::CommentOutDirective(Lexer &DirectiveLex,
317 StringRef InclusionRewriter::NextIdentifierName(Lexer &RawLex,
329 bool InclusionRewriter::HandleHasInclude(
403 bool InclusionRewriter::Process(FileID FileId,
579 InclusionRewriter *Rewrite = new InclusionRewriter(