Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
lldb/include/lldb/API/SBValue.h
Show First 20 Lines • Show All 240 Lines • ▼ Show 20 Lines | public: | ||||
/// | /// | ||||
/// \return | /// \return | ||||
/// An SBData with the contents of this SBValue, on success. | /// An SBData with the contents of this SBValue, on success. | ||||
/// An empty SBData otherwise. | /// An empty SBData otherwise. | ||||
lldb::SBData GetData(); | lldb::SBData GetData(); | ||||
bool SetData(lldb::SBData &data, lldb::SBError &error); | bool SetData(lldb::SBData &data, lldb::SBError &error); | ||||
/// Creates a copy of the SBValue with a new name and setting the current | |||||
/// SBValue as its parent. It should be used when we want to change the | |||||
/// name of a SBValue without modifying the actual SBValue itself | |||||
/// (e.g. sythetic child provider). | |||||
lldb::SBValue Clone(const char *new_name); | |||||
lldb::SBDeclaration GetDeclaration(); | lldb::SBDeclaration GetDeclaration(); | ||||
/// Find out if a SBValue might have children. | /// Find out if a SBValue might have children. | ||||
/// | /// | ||||
/// This call is much more efficient than GetNumChildren() as it | /// This call is much more efficient than GetNumChildren() as it | ||||
/// doesn't need to complete the underlying type. This is designed | /// doesn't need to complete the underlying type. This is designed | ||||
/// to be used in a UI environment in order to detect if the | /// to be used in a UI environment in order to detect if the | ||||
/// disclosure triangle should be displayed or not. | /// disclosure triangle should be displayed or not. | ||||
▲ Show 20 Lines • Show All 177 Lines • Show Last 20 Lines |