This function was added in D67589 and returns an internal CommandReturnObject
which isn't allowed in the SB API. This patch just makes it private as all uses
of this function are inside SBCommandReturnObject.
Reviewed By: jankratochvil
Differential Revision: https://reviews.llvm.org/D103390
void SetError(const char *error_cstr);
- // ref() is internal for LLDB only.
- lldb_private::CommandReturnObject &ref() const;
-
protected:
friend class SBCommandInterpreter;
friend class SBOptions;
lldb_private::CommandReturnObject &operator*() const;
private:
+ lldb_private::CommandReturnObject &ref() const;
+
std::unique_ptr<lldb_private::SBCommandReturnObjectImpl> m_opaque_up;
};