Fix inconsistent use of override warnings.

llvm-svn: 245375
This commit is contained in:
Greg Clayton 2015-08-18 22:31:29 +00:00
parent 4cfa086df2
commit 7b1c497862
3 changed files with 20 additions and 20 deletions

View File

@ -62,11 +62,11 @@ public:
}
protected:
virtual bool
UpdateValue ();
bool
UpdateValue () override;
virtual CompilerType
GetClangTypeImpl ();
CompilerType
GetClangTypeImpl () override;
CompilerType m_cast_type;

View File

@ -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;

View File

@ -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;