LLVM 20.0.0git
|
This class wraps an output stream for a file. More...
#include "llvm/Support/Caching.h"
Public Member Functions | |
CachedFileStream (std::unique_ptr< raw_pwrite_stream > OS, std::string OSPath="") | |
virtual | ~CachedFileStream ()=default |
Public Attributes | |
std::unique_ptr< raw_pwrite_stream > | OS |
std::string | ObjectPathName |
This class wraps an output stream for a file.
Most clients should just be able to return an instance of this base class from the stream callback, but if a client needs to perform some action after the stream is written to, that can be done by deriving from this class and overriding the destructor.
|
inline |
|
virtualdefault |
std::unique_ptr<raw_pwrite_stream> llvm::CachedFileStream::OS |