reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

examples/BrainF/BrainFDriver.cpp
  129       out = new raw_fd_ostream(OutputFilename, EC, sys::fs::OF_None);
examples/Kaleidoscope/Chapter8/toy.cpp
 1248   raw_fd_ostream dest(Filename, EC, sys::fs::OF_None);
include/llvm/Support/FileSystem.h
 1034                  OpenFlags Flags = OF_None, unsigned Mode = 0666) {
 1115                                 OpenFlags Flags = OF_None,
 1131 openNativeFileForRead(const Twine &Name, OpenFlags Flags = OF_None,
lib/Analysis/ModuleSummaryAnalysis.cpp
  816     raw_fd_ostream OSDot(ModuleSummaryDotFile, EC, sys::fs::OpenFlags::OF_None);
lib/Bitcode/Writer/BitWriter.cpp
   22   raw_fd_ostream OS(Path, EC, sys::fs::OF_None);
lib/IR/RemarkStreamer.cpp
  163                                                 : sys::fs::OF_None;
lib/LTO/LTO.cpp
 1227                       sys::fs::OpenFlags::OF_None);
 1406       std::make_unique<ToolOutputFile>(StatsFilename, EC, sys::fs::OF_None);
lib/LTO/LTOBackend.cpp
   87       raw_fd_ostream OS(Path, EC, sys::fs::OpenFlags::OF_None);
  107     raw_fd_ostream OS(Path, EC, sys::fs::OpenFlags::OF_None);
  115     raw_fd_ostream OSDot(Path, EC, sys::fs::OpenFlags::OF_None);
  336     DwoOut = std::make_unique<ToolOutputFile>(DwoFile, EC, sys::fs::OF_None);
lib/LTO/LTOCodeGenerator.cpp
  232   ToolOutputFile Out(Path, EC, sys::fs::OF_None);
lib/LTO/ThinLTOCodeGenerator.cpp
   94   raw_fd_ostream OS(SaveTempPath, EC, sys::fs::OF_None);
  887   raw_fd_ostream OS(OutputPath, Err, sys::fs::OF_None);
  942     raw_fd_ostream OS(SaveTempPath, EC, sys::fs::OF_None);
lib/ProfileData/SampleProfWriter.cpp
  571     OS.reset(new raw_fd_ostream(Filename, EC, sys::fs::OF_None));
lib/Support/CachePruning.cpp
   48   raw_fd_ostream Out(TimestampFile.str(), EC, sys::fs::OF_None);
lib/Support/FileOutputBuffer.cpp
  102             openFileForWrite(FinalPath, FD, CD_CreateAlways, OF_None, Mode))
lib/Support/MemoryBuffer.cpp
  248       sys::fs::openNativeFileForRead(Filename, sys::fs::OF_None);
  367       Filename, sys::fs::CD_OpenExisting, sys::fs::OF_None);
  509       sys::fs::openNativeFileForRead(Filename, sys::fs::OF_None);
lib/Support/Path.cpp
  171                    sys::fs::OpenFlags Flags = sys::fs::OF_None) {
  966   if (std::error_code EC = openFileForRead(From, ReadFD, OF_None))
  969           openFileForWrite(To, WriteFD, CD_CreateAlways, OF_None)) {
  985   if (std::error_code EC = openFileForRead(From, ReadFD, OF_None))
 1017   if (auto EC = openFileForRead(Path, FD, OF_None))
lib/Support/TarWriter.cpp
  164           openFileForWrite(OutputPath, FD, CD_CreateAlways, OF_None))
lib/Support/VirtualFileSystem.cpp
  300       adjustPath(Name, Storage), sys::fs::OF_None, &RealName);
lib/Support/raw_ostream.cpp
  549                      sys::fs::OF_None) {}
  553     : raw_fd_ostream(Filename, EC, Disp, sys::fs::FA_Write, sys::fs::OF_None) {}
  558                      sys::fs::OF_None) {}
  875   static raw_fd_ostream S("-", EC, sys::fs::OF_None);
lib/TableGen/Main.cpp
   70   ToolOutputFile DepOut(DependFilename, EC, sys::fs::OF_None);
  130   ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_None);
lib/Target/TargetMachineC.cpp
  222   raw_fd_ostream dest(Filename, EC, sys::fs::OF_None);
lib/Transforms/IPO/FunctionImport.cpp
  898   raw_fd_ostream ImportsOS(OutputFilename, EC, sys::fs::OpenFlags::OF_None);
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  681                        sys::fs::OF_None);
tools/bugpoint/OptimizerDriver.cpp
   82   ToolOutputFile Out(Filename, EC, sys::fs::OF_None);
tools/clang/lib/ARCMigrate/FileRemapper.cpp
  124   llvm::raw_fd_ostream infoOut(infoFile, EC, llvm::sys::fs::OF_None);
  180     llvm::raw_fd_ostream Out(origFE->getName(), EC, llvm::sys::fs::OF_None);
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 1954    llvm::raw_fd_ostream OS(MigrateDir, EC, llvm::sys::fs::OF_None);
tools/clang/lib/CodeGen/BackendUtil.cpp
  123                                                      llvm::sys::fs::OF_None);
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
 1357   llvm::raw_fd_ostream Lksf(LKS, EC, llvm::sys::fs::OF_None);
tools/clang/lib/Frontend/CompilerInstance.cpp
  788         (Binary ? llvm::sys::fs::OF_None : llvm::sys::fs::OF_Text)));
 1392   llvm::raw_fd_ostream Out(TimestampFile.str(), EC, llvm::sys::fs::OF_None);
tools/clang/lib/Frontend/Rewrite/FixItRewriter.cpp
  104       OS.reset(new llvm::raw_fd_ostream(Filename, EC, llvm::sys::fs::OF_None));
tools/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp
  784                                                     EC, llvm::sys::fs::OF_None);
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
  251               Model, FD, llvm::sys::fs::CD_CreateNew, llvm::sys::fs::OF_None);
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  669   raw_fd_ostream OutputFile(OutputFileNames.front(), EC, sys::fs::OF_None);
  767     raw_fd_ostream OutputFile(Output->second, EC, sys::fs::OF_None);
  786       raw_fd_ostream OutputFile(E.second, EC, sys::fs::OF_None);
  806     raw_fd_ostream OutputFile(E.second, EC, sys::fs::OF_None);
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
  353   ToolOutputFile Out(Output, EC, sys::fs::OF_None);
tools/clang/tools/clang-rename/ClangRename.cpp
  191       llvm::raw_fd_ostream OS(ExportFixes, EC, llvm::sys::fs::OF_None);
tools/clang/tools/driver/cc1as_main.cpp
  319       Path, EC, (Binary ? sys::fs::OF_None : sys::fs::OF_Text));
tools/clang/tools/extra/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp
  155     llvm::raw_fd_ostream FileStream(FileName, EC, llvm::sys::fs::OF_None);
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp
  892   llvm::raw_fd_ostream OS(FilePath, FileErr, llvm::sys::fs::OF_None);
  941   llvm::raw_fd_ostream IndexOS(IndexPath, FileErr, llvm::sys::fs::OF_None);
tools/clang/tools/extra/clang-doc/tool/ClangDocMain.cpp
  306                                   llvm::sys::fs::OF_None);
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp
  117   llvm::raw_fd_ostream OS(OutputFile, EC, llvm::sys::fs::OF_None);
tools/clang/tools/extra/clang-tidy/ClangTidyProfiling.cpp
   69   llvm::raw_fd_ostream OS(Storage->StoreFilename, EC, llvm::sys::fs::OF_None);
tools/clang/tools/extra/clang-tidy/tool/ClangTidyMain.cpp
  447     llvm::raw_fd_ostream OS(ExportFixes, EC, llvm::sys::fs::OF_None);
tools/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
   69                                                  CD_CreateNew, OF_None);
tools/dsymutil/dsymutil.cpp
  584             Options.LinkOpts.NoOutput ? "-" : OutputFile, EC, sys::fs::OF_None);
tools/gold/gold-plugin.cpp
  889       raw_fd_ostream OS(output_name, EC, sys::fs::OpenFlags::OF_None);
  950                       sys::fs::OpenFlags::OF_None);
  963                       sys::fs::OpenFlags::OF_None);
  978       options::thinlto_linked_objects_file, EC, sys::fs::OpenFlags::OF_None);
tools/llc/llc.cpp
  242   sys::fs::OpenFlags OpenFlags = sys::fs::OF_None;
  483                                                sys::fs::OF_None);
tools/lld/COFF/DriverUtils.cpp
  325       raw_fd_ostream os(path, ec, sys::fs::OF_None);
tools/lld/COFF/LTO.cpp
   49       std::make_unique<raw_fd_ostream>(file, ec, sys::fs::OpenFlags::OF_None);
tools/lld/COFF/MapFile.cpp
   95   raw_fd_ostream os(config->mapFile, ec, sys::fs::OF_None);
tools/lld/COFF/MinGW.cpp
  152   raw_fd_ostream os(name, ec, sys::fs::OF_None);
tools/lld/Common/Strings.cpp
   77   raw_fd_ostream os(path.str(), ec, sys::fs::OpenFlags::OF_None);
tools/lld/ELF/CallGraphSort.cpp
  237     raw_fd_ostream os(config->printSymbolOrder, ec, sys::fs::OF_None);
tools/lld/ELF/LTO.cpp
   53       std::make_unique<raw_fd_ostream>(file, ec, sys::fs::OpenFlags::OF_None);
tools/lld/ELF/MapFile.cpp
  147   raw_fd_ostream os(config->mapFile, ec, sys::fs::OF_None);
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  901       new llvm::raw_fd_ostream(path, ec, llvm::sys::fs::OF_None));
tools/lldb/source/API/SBReproducerPrivate.h
   43                  m_ec, llvm::sys::fs::OpenFlags::OF_None),
tools/lldb/source/Plugins/Platform/Android/AdbClient.cpp
  413   llvm::raw_fd_ostream dst(output_filename, EC, llvm::sys::fs::OF_None);
  440   llvm::raw_fd_ostream dst(local_file_path, EC, llvm::sys::fs::OF_None);
tools/lldb/source/Target/Platform.cpp
 1631   llvm::raw_fd_ostream dst(dst_file_spec.GetPath(), EC, llvm::sys::fs::OF_None);
tools/lldb/source/Utility/Reproducer.cpp
  189                                                sys::fs::OpenFlags::OF_None);
tools/lli/lli.cpp
  254     raw_fd_ostream outfile(CacheName, EC, sys::fs::OF_None);
tools/llvm-ar/llvm-ar.cpp
  536                                         sys::fs::OF_None, Mode),
tools/llvm-as/llvm-as.cpp
   85       new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None));
tools/llvm-cat/llvm-cat.cpp
   88   raw_fd_ostream OS(OutputFilename, EC, sys::fs::OpenFlags::OF_None);
tools/llvm-dwp/llvm-dwp.cpp
  709   ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_None);
tools/llvm-extract/llvm-extract.cpp
  363   ToolOutputFile Out(OutputFilename, EC, sys::fs::OF_None);
tools/llvm-link/llvm-link.cpp
  384   ToolOutputFile Out(OutputFilename, EC, sys::fs::OF_None);
tools/llvm-lto/llvm-lto.cpp
  423                     sys::fs::OpenFlags::OF_None);
  513   raw_fd_ostream OS(Filename, EC, sys::fs::OpenFlags::OF_None);
  584     raw_fd_ostream OS(OutputFilename, EC, sys::fs::OpenFlags::OF_None);
  622       raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None);
  805       raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None);
  851       raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None);
 1023       OSs.emplace_back(PartFilename, EC, sys::fs::OF_None);
tools/llvm-lto2/llvm-lto2.cpp
  336     auto S = std::make_unique<raw_fd_ostream>(Path, EC, sys::fs::OF_None);
tools/llvm-mc/llvm-mc.cpp
  419                                                             : sys::fs::OF_None;
  430     DwoOut = GetOutputStream(SplitDwarfFile, sys::fs::OF_None);
tools/llvm-modextract/llvm-modextract.cpp
   57       new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None));
tools/llvm-profdata/llvm-profdata.cpp
  366   raw_fd_ostream Output(OutputFilename.data(), EC, sys::fs::OF_None);
tools/llvm-split/llvm-split.cpp
   58         new ToolOutputFile(OutputFilename + utostr(I++), EC, sys::fs::OF_None));
tools/llvm-stress/llvm-stress.cpp
  755   Out.reset(new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None));
tools/llvm-xray/xray-converter.cpp
  390                         ? sys::fs::OpenFlags::OF_None
tools/opt/opt.cpp
  615                                               : sys::fs::OF_None;
  624           new ToolOutputFile(ThinLinkBitcodeFile, EC, sys::fs::OF_None));
  725                                               sys::fs::OF_None);
tools/polly/lib/Support/DumpModulePass.cpp
   66     Out.reset(new ToolOutputFile(Dumpfile, EC, sys::fs::OF_None));
tools/verify-uselistorder/verify-uselistorder.cpp
  126   raw_fd_ostream OS(Filename, EC, sys::fs::OF_None);
tools/yaml2obj/yaml2obj.cpp
   54       new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None));
unittests/BinaryFormat/TestFileMagic.cpp
  131     raw_fd_ostream file(file_pathname, EC, sys::fs::OF_None);
unittests/DebugInfo/DWARF/DwarfGenerator.cpp
  534   raw_fd_ostream Strm(Path, EC, sys::fs::OF_None);
unittests/ProfileData/SampleProfTest.cpp
   47         new raw_fd_ostream(Profile, EC, sys::fs::OF_None));
   68         new raw_fd_ostream(RemapFile, EC, sys::fs::OF_None));
unittests/Support/MemoryBufferTest.cpp
  120         TestPath, sys::fs::CD_OpenExisting, sys::fs::OF_None);
unittests/Support/Path.cpp
 1270                                       fs::OF_None, &ResultPath))
 1512                                            fs::CD_OpenExisting, fs::OF_None));
unittests/Support/raw_ostream_test.cpp
  342   { raw_fd_ostream("-", EC, sys::fs::OpenFlags::OF_None); }
  343   { raw_fd_ostream("-", EC, sys::fs::OpenFlags::OF_None); }