diff options
author | Greg Clayton <gclayton@apple.com> | 2011-08-03 22:57:10 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-08-03 22:57:10 +0000 |
commit | fe42ac4d0a4836829616d054c524e8cc10b25b88 (patch) | |
tree | bf0d085081bec250842526fb9342d48dcbae138b /lldb/scripts/Python/interface/SBValue.i | |
parent | 3ef20e35f9181c28650f60c3845c4b1c737853fb (diff) | |
download | bcm5719-llvm-fe42ac4d0a4836829616d054c524e8cc10b25b88.tar.gz bcm5719-llvm-fe42ac4d0a4836829616d054c524e8cc10b25b88.zip |
Cleaned up the SBType.h file to not include internal headers and reorganized
the SBType implementation classes.
Fixed LLDB core and the test suite to not use deprecated SBValue APIs.
Added a few new APIs to SBValue:
int64_t
SBValue::GetValueAsSigned(int64_t fail_value=0);
uint64_t
SBValue::GetValueAsUnsigned(uint64_t fail_value=0)
llvm-svn: 136829
Diffstat (limited to 'lldb/scripts/Python/interface/SBValue.i')
-rw-r--r-- | lldb/scripts/Python/interface/SBValue.i | 38 |
1 files changed, 6 insertions, 32 deletions
diff --git a/lldb/scripts/Python/interface/SBValue.i b/lldb/scripts/Python/interface/SBValue.i index 24f966099c3..22186e1b8a3 100644 --- a/lldb/scripts/Python/interface/SBValue.i +++ b/lldb/scripts/Python/interface/SBValue.i @@ -82,14 +82,6 @@ public: size_t GetByteSize (); - %define DEPRECATED - "The method which takes an SBFrame is deprecated - SBValues know their own frames." - %enddef - - %feature("docstring", DEPRECATED) IsInScope; - bool - IsInScope (const lldb::SBFrame &frame); - bool IsInScope (); @@ -99,48 +91,30 @@ public: void SetFormat (lldb::Format format); - %feature("docstring", DEPRECATED) GetValue; - const char * - GetValue (const lldb::SBFrame &frame); - const char * GetValue (); + int64_t + GetValueAsSigned(int64_t fail_value=0); + + uint64_t + GetValueAsUnsigned(uint64_t fail_value=0); + ValueType GetValueType (); - %feature("docstring", DEPRECATED) GetValueDidChange; - bool - GetValueDidChange (const lldb::SBFrame &frame); - bool GetValueDidChange (); - %feature("docstring", DEPRECATED) GetSummary; - const char * - GetSummary (const lldb::SBFrame &frame); - const char * GetSummary (); - %feature("docstring", DEPRECATED) GetObjectDescription; - const char * - GetObjectDescription (const lldb::SBFrame &frame); - const char * GetObjectDescription (); - %feature("docstring", DEPRECATED) GetLocation; - const char * - GetLocation (const lldb::SBFrame &frame); - const char * GetLocation (); - %feature("docstring", DEPRECATED) SetValueFromCString; - bool - SetValueFromCString (const lldb::SBFrame &frame, const char *value_str); - bool SetValueFromCString (const char *value_str); |