#include "lldb/Interpreter/CommandReturnObject.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/StreamString.h"
usingnamespacelldb;
usingnamespacelldb_private;
static llvm::raw_ostream &error(Stream &strm) { … }
static llvm::raw_ostream &warning(Stream &strm) { … }
static void DumpStringToStreamWithNewline(Stream &strm, const std::string &s) { … }
CommandReturnObject::CommandReturnObject(bool colors)
: … { … }
void CommandReturnObject::AppendErrorWithFormat(const char *format, ...) { … }
void CommandReturnObject::AppendMessageWithFormat(const char *format, ...) { … }
void CommandReturnObject::AppendWarningWithFormat(const char *format, ...) { … }
void CommandReturnObject::AppendMessage(llvm::StringRef in_string) { … }
void CommandReturnObject::AppendWarning(llvm::StringRef in_string) { … }
void CommandReturnObject::AppendError(llvm::StringRef in_string) { … }
void CommandReturnObject::SetError(const Status &error,
const char *fallback_error_cstr) { … }
void CommandReturnObject::SetError(llvm::Error error) { … }
void CommandReturnObject::AppendRawError(llvm::StringRef in_string) { … }
void CommandReturnObject::SetStatus(ReturnStatus status) { … }
ReturnStatus CommandReturnObject::GetStatus() const { … }
bool CommandReturnObject::Succeeded() const { … }
bool CommandReturnObject::HasResult() const { … }
void CommandReturnObject::Clear() { … }
bool CommandReturnObject::GetDidChangeProcessState() const { … }
void CommandReturnObject::SetDidChangeProcessState(bool b) { … }
bool CommandReturnObject::GetInteractive() const { … }
void CommandReturnObject::SetInteractive(bool b) { … }
bool CommandReturnObject::GetSuppressImmediateOutput() const { … }
void CommandReturnObject::SetSuppressImmediateOutput(bool b) { … }