Return whether an output error has been encountered.

Synopsis

Declared in <llvm/Support/raw_ostream.h>

bool
has_error() const;

Description

This doesn't implicitly flush any pending output. Also, it doesn't guarantee to detect all errors unless the stream has been closed.

Return Value

True if an output error has been encountered.

Created with MrDocs