forked from OSchip/llvm-project
parent
174b012524
commit
a24f5cf273
|
@ -70,11 +70,10 @@ public:
|
|||
/// It is used like the following.
|
||||
/// \code
|
||||
/// ErrorOr<Buffer> getBuffer();
|
||||
/// void handleError(error_code ec);
|
||||
///
|
||||
/// auto buffer = getBuffer();
|
||||
/// if (!buffer)
|
||||
/// handleError(buffer);
|
||||
/// if (error_code ec = buffer.getError())
|
||||
/// return ec;
|
||||
/// buffer->write("adena");
|
||||
/// \endcode
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue