LLVM  13.0.0git
Classes | Namespaces | Functions | Variables
raw_ostream.h File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/DataTypes.h"
#include <cassert>
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <string>
#include <system_error>
#include <type_traits>
Include dependency graph for raw_ostream.h:

Go to the source code of this file.


class  llvm::raw_ostream
 This class implements an extremely fast bulk output stream that can only output to a stream. More...
class  llvm::raw_pwrite_stream
 An abstract base class for streams implementations that also support a pwrite operation. More...
class  llvm::raw_fd_ostream
 A raw_ostream that writes to a file descriptor. More...
class  llvm::raw_fd_stream
 A raw_ostream of a file for reading/writing/seeking. More...
class  llvm::raw_string_ostream
 A raw_ostream that writes to an std::string. More...
class  llvm::raw_svector_ostream
 A raw_ostream that writes to an SmallVector or SmallString. More...
class  llvm::raw_null_ostream
 A raw_ostream that discards all output. More...
class  llvm::buffer_ostream
class  llvm::buffer_unique_ostream




template<typename OStream , typename T >
std::enable_if_t<!std::is_reference< OStream >::value &&std::is_base_of< raw_ostream, OStream >::value, OStream && > llvm::operator<< (OStream &&OS, const T &Value)
 Call the appropriate insertion operator, given an rvalue reference to a raw_ostream object and return a stream of the same type as the argument. More...
raw_fd_ostreamllvm::outs ()
 This returns a reference to a raw_fd_ostream for standard output. More...
raw_fd_ostreamllvm::errs ()
 This returns a reference to a raw_ostream for standard error. More...
raw_ostreamllvm::nulls ()
 This returns a reference to a raw_ostream which simply discards output. More...
Error llvm::writeToOutput (StringRef OutputFileName, std::function< Error(raw_ostream &)> Write)
 This helper creates an output stream and then passes it to Write. More...


template<class T >
class LLVM_NODISCARD llvm::Expected