class raw_null_ostream

Declaration

class raw_null_ostream : public raw_pwrite_stream { /* full declaration omitted */ };

Description

A raw_ostream that discards all output.

Declared at: llvm/include/llvm/Support/raw_ostream.h:695

Inherits from: raw_pwrite_stream

Member Variables

Inherited from raw_ostream:

public static BLACK = Colors::BLACK
public static RED = Colors::RED
public static GREEN = Colors::GREEN
public static YELLOW = Colors::YELLOW
public static BLUE = Colors::BLUE
public static MAGENTA = Colors::MAGENTA
public static CYAN = Colors::CYAN
public static WHITE = Colors::WHITE
public static SAVEDCOLOR = Colors::SAVEDCOLOR
public static RESET = Colors::RESET

Method Overview

Inherited from raw_pwrite_stream:

Inherited from raw_ostream:

Methods

uint64_t current_pos() const

Description

Return the current position within the stream, not counting the bytes currently in the buffer.

Declared at: llvm/include/llvm/Support/raw_ostream.h:702

void pwrite_impl(const char* Ptr,
                 size_t Size,
                 uint64_t Offset)

Declared at: llvm/include/llvm/Support/raw_ostream.h:698

Parameters

const char* Ptr
size_t Size
uint64_t Offset

raw_null_ostream()

Declared at: llvm/include/llvm/Support/raw_ostream.h:705

void write_impl(const char* Ptr, size_t size)

Description

See raw_ostream::write_impl.

Declared at: llvm/include/llvm/Support/raw_ostream.h:697

Parameters

const char* Ptr
size_t size

~raw_null_ostream()

Declared at: llvm/include/llvm/Support/raw_ostream.h:706