LLVM API Documentation

Public Member Functions
llvm::raw_svector_ostream Class Reference

#include <raw_ostream.h>

Inheritance diagram for llvm::raw_svector_ostream:
Inheritance graph
[legend]
Collaboration diagram for llvm::raw_svector_ostream:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 raw_svector_ostream (SmallVectorImpl< char > &O)
 ~raw_svector_ostream ()
void resync ()
StringRef str ()

Detailed Description

raw_svector_ostream - A raw_ostream that writes to an SmallVector or SmallString. This is a simple adaptor class. This class does not encounter output errors.

Definition at line 456 of file raw_ostream.h.


Constructor & Destructor Documentation

Construct a new raw_svector_ostream.

Parameters:
OThe vector to write to; this should generally have at least 128 bytes free to avoid any extraneous memory overhead.

Definition at line 698 of file raw_ostream.cpp.

References llvm::SmallVectorTemplateCommon< T, typename >::capacity(), llvm::SmallVectorTemplateCommon< T, typename >::end(), llvm::SmallVectorImpl< T >::reserve(), llvm::raw_ostream::SetBuffer(), and llvm::SmallVectorTemplateCommon< T, typename >::size().

Definition at line 707 of file raw_ostream.cpp.

References llvm::raw_ostream::flush().


Member Function Documentation


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