Index: lldb/trunk/include/lldb/API/SBValue.h =================================================================== --- lldb/trunk/include/lldb/API/SBValue.h +++ lldb/trunk/include/lldb/API/SBValue.h @@ -350,6 +350,7 @@ lldb::SBValue Dereference (); + // Deprecated - please use GetType().IsPointerType() instead. bool TypeIsPointerType (); Index: lldb/trunk/source/API/SBValue.cpp =================================================================== --- lldb/trunk/source/API/SBValue.cpp +++ lldb/trunk/source/API/SBValue.cpp @@ -1306,22 +1306,11 @@ return sb_value; } +// Deprecated - please use GetType().IsPointerType() instead. bool SBValue::TypeIsPointerType () { - bool is_ptr_type = false; - - ValueLocker locker; - lldb::ValueObjectSP value_sp(GetSP(locker)); - if (value_sp) - is_ptr_type = value_sp->IsPointerType(); - - Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API)); - if (log) - log->Printf ("SBValue(%p)::TypeIsPointerType () => %i", - static_cast(value_sp.get()), is_ptr_type); - - return is_ptr_type; + return GetType().IsPointerType(); } void *