LLDB  mainline
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
lldb_private::repro::FlushingFileCollector Class Reference

#include <ReproducerProvider.h>

Inheritance diagram for lldb_private::repro::FlushingFileCollector:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::repro::FlushingFileCollector:
Collaboration graph
[legend]

Public Member Functions

 FlushingFileCollector (llvm::StringRef files_path, llvm::StringRef dirs_path, std::error_code &ec)
 

Protected Member Functions

void addFileImpl (llvm::StringRef file) override
 
llvm::vfs::directory_iterator addDirectoryImpl (const llvm::Twine &dir, llvm::IntrusiveRefCntPtr< llvm::vfs::FileSystem > vfs, std::error_code &dir_ec) override
 

Protected Attributes

llvm::Optional< llvm::raw_fd_ostream > m_files_os
 
llvm::Optional< llvm::raw_fd_ostream > m_dirs_os
 

Detailed Description

Definition at line 94 of file ReproducerProvider.h.

Constructor & Destructor Documentation

◆ FlushingFileCollector()

FlushingFileCollector::FlushingFileCollector ( llvm::StringRef  files_path,
llvm::StringRef  dirs_path,
std::error_code &  ec 
)

Definition at line 48 of file ReproducerProvider.cpp.

Member Function Documentation

◆ addDirectoryImpl()

llvm::vfs::directory_iterator FlushingFileCollector::addDirectoryImpl ( const llvm::Twine &  dir,
llvm::IntrusiveRefCntPtr< llvm::vfs::FileSystem >  vfs,
std::error_code &  dir_ec 
)
overrideprotected

Definition at line 72 of file ReproducerProvider.cpp.

◆ addFileImpl()

void FlushingFileCollector::addFileImpl ( llvm::StringRef  file)
overrideprotected

Definition at line 64 of file ReproducerProvider.cpp.

Member Data Documentation

◆ m_dirs_os

llvm::Optional<llvm::raw_fd_ostream> lldb_private::repro::FlushingFileCollector::m_dirs_os
protected

Definition at line 108 of file ReproducerProvider.h.

◆ m_files_os

llvm::Optional<llvm::raw_fd_ostream> lldb_private::repro::FlushingFileCollector::m_files_os
protected

Definition at line 107 of file ReproducerProvider.h.


The documentation for this class was generated from the following files: