llvm::errs

Return a raw_ostream reference for standard error.

Synopsis

Declared in <llvm/Support/raw_ostream.h>

raw_fd_ostream&
errs();

Description

Use it like: errs() << "foo" << "bar"; By default, the stream is tied to stdout to ensure stdout is flushed before stderr is written, to ensure the error messages are written in their expected place.

Return Value

A reference to the standard error stream.