diff options
Diffstat (limited to 'lldb/source/Core/ValueObject.cpp')
-rw-r--r-- | lldb/source/Core/ValueObject.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lldb/source/Core/ValueObject.cpp b/lldb/source/Core/ValueObject.cpp index 60eaa3afbd1..8767b82c87d 100644 --- a/lldb/source/Core/ValueObject.cpp +++ b/lldb/source/Core/ValueObject.cpp @@ -1551,6 +1551,13 @@ ValueObject::SetValueFromCString (const char *value_str) return true; } +bool +ValueObject::GetDeclaration (Declaration &decl) +{ + decl.Clear(); + return false; +} + LanguageType ValueObject::GetObjectRuntimeLanguage () { @@ -3432,8 +3439,7 @@ ValueObject::AddressOf (Error &error) ValueObjectSP ValueObject::Cast (const ClangASTType &clang_ast_type) { - ValueObjectSP valobj_sp(new ValueObjectCast (*this, GetName(), clang_ast_type)); - return valobj_sp; + return ValueObjectCast::Create (*this, GetName(), clang_ast_type); } ValueObjectSP |