diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:26:05 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:26:05 +0000 |
commit | 14f1b3e8826ce43b978db93a62d1166055db5394 (patch) | |
tree | 0a00ad8d3498783fe0193f3b656bca17c4c8697d /include/lldb/Core/ValueObjectMemory.h | |
parent | 4ee8c119c71a06dcad1e0fecc8c675e480e59337 (diff) | |
download | src-14f1b3e8826ce43b978db93a62d1166055db5394.tar.gz src-14f1b3e8826ce43b978db93a62d1166055db5394.zip |
Vendor import of lldb trunk r290819:vendor/lldb/lldb-trunk-r290819
Notes
Notes:
svn path=/vendor/lldb/dist/; revision=311128
svn path=/vendor/lldb/lldb-trunk-r290819/; revision=311129; tag=vendor/lldb/lldb-trunk-r290819
Diffstat (limited to 'include/lldb/Core/ValueObjectMemory.h')
-rw-r--r-- | include/lldb/Core/ValueObjectMemory.h | 84 |
1 files changed, 34 insertions, 50 deletions
diff --git a/include/lldb/Core/ValueObjectMemory.h b/include/lldb/Core/ValueObjectMemory.h index 0e12fc7e3f28..f9891c41cec6 100644 --- a/include/lldb/Core/ValueObjectMemory.h +++ b/include/lldb/Core/ValueObjectMemory.h @@ -20,72 +20,56 @@ namespace lldb_private { //---------------------------------------------------------------------- -// A ValueObject that represents memory at a given address, viewed as some +// A ValueObject that represents memory at a given address, viewed as some // set lldb type. //---------------------------------------------------------------------- -class ValueObjectMemory : public ValueObject -{ +class ValueObjectMemory : public ValueObject { public: - ~ValueObjectMemory() override; + ~ValueObjectMemory() override; - static lldb::ValueObjectSP - Create (ExecutionContextScope *exe_scope, - const char *name, - const Address &address, - lldb::TypeSP &type_sp); + static lldb::ValueObjectSP Create(ExecutionContextScope *exe_scope, + llvm::StringRef name, + const Address &address, + lldb::TypeSP &type_sp); - static lldb::ValueObjectSP - Create (ExecutionContextScope *exe_scope, - const char *name, - const Address &address, - const CompilerType &ast_type); + static lldb::ValueObjectSP Create(ExecutionContextScope *exe_scope, + llvm::StringRef name, + const Address &address, + const CompilerType &ast_type); - uint64_t - GetByteSize() override; + uint64_t GetByteSize() override; - ConstString - GetTypeName() override; + ConstString GetTypeName() override; - ConstString - GetDisplayTypeName() override; - - size_t - CalculateNumChildren(uint32_t max) override; + ConstString GetDisplayTypeName() override; - lldb::ValueType - GetValueType() const override; + size_t CalculateNumChildren(uint32_t max) override; - bool - IsInScope() override; + lldb::ValueType GetValueType() const override; - lldb::ModuleSP - GetModule() override; + bool IsInScope() override; + + lldb::ModuleSP GetModule() override; protected: - bool - UpdateValue() override; - - CompilerType - GetCompilerTypeImpl() override; + bool UpdateValue() override; + + CompilerType GetCompilerTypeImpl() override; - Address m_address; ///< The variable that this value object is based upon - lldb::TypeSP m_type_sp; - CompilerType m_compiler_type; + Address m_address; ///< The variable that this value object is based upon + lldb::TypeSP m_type_sp; + CompilerType m_compiler_type; private: - ValueObjectMemory (ExecutionContextScope *exe_scope, - const char *name, - const Address &address, - lldb::TypeSP &type_sp); - - ValueObjectMemory (ExecutionContextScope *exe_scope, - const char *name, - const Address &address, - const CompilerType &ast_type); - //------------------------------------------------------------------ - // For ValueObject only - //------------------------------------------------------------------ - DISALLOW_COPY_AND_ASSIGN (ValueObjectMemory); + ValueObjectMemory(ExecutionContextScope *exe_scope, llvm::StringRef name, + const Address &address, lldb::TypeSP &type_sp); + + ValueObjectMemory(ExecutionContextScope *exe_scope, llvm::StringRef name, + const Address &address, const CompilerType &ast_type); + //------------------------------------------------------------------ + // For ValueObject only + //------------------------------------------------------------------ + DISALLOW_COPY_AND_ASSIGN(ValueObjectMemory); }; } // namespace lldb_private |