Lines Matching defs:OS
38 raw_ostream &OS; ///< The destination stream for rewritten contents.
47 InclusionRewriter(Preprocessor &PP, raw_ostream &OS, bool ShowLineMarkers);
81 /// Initializes an InclusionRewriter with a \p PP source and \p OS destination.
82 InclusionRewriter::InclusionRewriter(Preprocessor &PP, raw_ostream &OS,
84 : PP(PP), SM(PP.getSourceManager()), OS(OS),
101 OS << "#line" << ' ' << Line << ' ' << '"' << Filename << '"';
105 OS << '#' << ' ' << Line << ' ' << '"' << Filename << '"';
107 OS << Extra;
111 OS << " 3";
115 OS << " 3 4";
117 OS << EOL;
202 OS.write(FromFile.getBufferStart() + WriteFrom, WriteTo - WriteFrom);
209 OS << EOL;
230 OS << "#if 0 /* expanded by -frewrite-includes */" << EOL;
234 OS << "#endif /* expanded by -frewrite-includes */" << EOL;
341 void clang::RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS,
344 InclusionRewriter *Rewrite = new InclusionRewriter(PP, *OS,
362 OS->flush();