diff options
Diffstat (limited to 'include/lldb/Core/ValueObjectConstResultCast.h')
-rw-r--r-- | include/lldb/Core/ValueObjectConstResultCast.h | 60 |
1 files changed, 23 insertions, 37 deletions
diff --git a/include/lldb/Core/ValueObjectConstResultCast.h b/include/lldb/Core/ValueObjectConstResultCast.h index 84dd79213d02..4b2a3e2fb9b0 100644 --- a/include/lldb/Core/ValueObjectConstResultCast.h +++ b/include/lldb/Core/ValueObjectConstResultCast.h @@ -19,57 +19,43 @@ namespace lldb_private { -class ValueObjectConstResultCast : public ValueObjectCast -{ +class ValueObjectConstResultCast : public ValueObjectCast { public: - ValueObjectConstResultCast ( - ValueObject &parent, - const ConstString &name, - const CompilerType &cast_type, - lldb::addr_t live_address = LLDB_INVALID_ADDRESS); + ValueObjectConstResultCast(ValueObject &parent, const ConstString &name, + const CompilerType &cast_type, + lldb::addr_t live_address = LLDB_INVALID_ADDRESS); - ~ValueObjectConstResultCast() override; + ~ValueObjectConstResultCast() override; - lldb::ValueObjectSP - Dereference(Error &error) override; + lldb::ValueObjectSP Dereference(Error &error) override; - ValueObject * - CreateChildAtIndex(size_t idx, - bool synthetic_array_member, - int32_t synthetic_index) override; + ValueObject *CreateChildAtIndex(size_t idx, bool synthetic_array_member, + int32_t synthetic_index) override; - virtual CompilerType - GetCompilerType () - { - return ValueObjectCast::GetCompilerType(); - } + virtual CompilerType GetCompilerType() { + return ValueObjectCast::GetCompilerType(); + } - lldb::ValueObjectSP - GetSyntheticChildAtOffset(uint32_t offset, - const CompilerType& type, - bool can_create, - ConstString name_const_str = ConstString()) override; + lldb::ValueObjectSP GetSyntheticChildAtOffset( + uint32_t offset, const CompilerType &type, bool can_create, + ConstString name_const_str = ConstString()) override; - lldb::ValueObjectSP - AddressOf (Error &error) override; + lldb::ValueObjectSP AddressOf(Error &error) override; - size_t - GetPointeeData (DataExtractor& data, - uint32_t item_idx = 0, - uint32_t item_count = 1) override; + size_t GetPointeeData(DataExtractor &data, uint32_t item_idx = 0, + uint32_t item_count = 1) override; - lldb::ValueObjectSP - Cast (const CompilerType &compiler_type) override; + lldb::ValueObjectSP Cast(const CompilerType &compiler_type) override; protected: - ValueObjectConstResultImpl m_impl; + ValueObjectConstResultImpl m_impl; private: - friend class ValueObject; - friend class ValueObjectConstResult; - friend class ValueObjectConstResultImpl; + friend class ValueObject; + friend class ValueObjectConstResult; + friend class ValueObjectConstResultImpl; - DISALLOW_COPY_AND_ASSIGN (ValueObjectConstResultCast); + DISALLOW_COPY_AND_ASSIGN(ValueObjectConstResultCast); }; } // namespace lldb_private |