diff --git a/lldb/include/lldb/Core/ValueObjectCast.h b/lldb/include/lldb/Core/ValueObjectCast.h index 17989c5f4f94..239375d3635b 100644 --- a/lldb/include/lldb/Core/ValueObjectCast.h +++ b/lldb/include/lldb/Core/ValueObjectCast.h @@ -62,11 +62,11 @@ public: } protected: - virtual bool - UpdateValue (); + bool + UpdateValue () override; - virtual CompilerType - GetClangTypeImpl (); + CompilerType + GetClangTypeImpl () override; CompilerType m_cast_type; diff --git a/lldb/include/lldb/Core/ValueObjectConstResultCast.h b/lldb/include/lldb/Core/ValueObjectConstResultCast.h index b074f24bc44e..2f99afa522e3 100644 --- a/lldb/include/lldb/Core/ValueObjectConstResultCast.h +++ b/lldb/include/lldb/Core/ValueObjectConstResultCast.h @@ -44,21 +44,21 @@ public: return ValueObjectCast::GetClangType(); } - virtual lldb::ValueObjectSP + lldb::ValueObjectSP GetSyntheticChildAtOffset(uint32_t offset, const CompilerType& type, - bool can_create); + bool can_create) override; - virtual lldb::ValueObjectSP - AddressOf (Error &error); + lldb::ValueObjectSP + AddressOf (Error &error) override; - virtual size_t + size_t GetPointeeData (DataExtractor& data, uint32_t item_idx = 0, - uint32_t item_count = 1); + uint32_t item_count = 1) override; - virtual lldb::ValueObjectSP - Cast (const CompilerType &clang_ast_type); + lldb::ValueObjectSP + Cast (const CompilerType &clang_ast_type) override; protected: ValueObjectConstResultImpl m_impl; diff --git a/lldb/include/lldb/Core/ValueObjectConstResultChild.h b/lldb/include/lldb/Core/ValueObjectConstResultChild.h index a9ed96b58528..b666d7e46e5d 100644 --- a/lldb/include/lldb/Core/ValueObjectConstResultChild.h +++ b/lldb/include/lldb/Core/ValueObjectConstResultChild.h @@ -51,19 +51,19 @@ public: return ValueObjectChild::GetClangType(); } - virtual lldb::ValueObjectSP - GetSyntheticChildAtOffset(uint32_t offset, const CompilerType& type, bool can_create); + lldb::ValueObjectSP + GetSyntheticChildAtOffset(uint32_t offset, const CompilerType& type, bool can_create) override; - virtual lldb::ValueObjectSP - AddressOf (Error &error); + lldb::ValueObjectSP + AddressOf (Error &error) override; - virtual size_t + size_t GetPointeeData (DataExtractor& data, uint32_t item_idx = 0, - uint32_t item_count = 1); + uint32_t item_count = 1) override; - virtual lldb::ValueObjectSP - Cast (const CompilerType &clang_ast_type); + lldb::ValueObjectSP + Cast (const CompilerType &clang_ast_type) override; protected: ValueObjectConstResultImpl m_impl;