summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-07-27 00:08:59 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-07-27 00:08:59 +0000
commit2af257cd0de5cec60d7c62c3c8281d5160bf3eb3 (patch)
treea19bd820aaae9291635733787d5003f39b7e0721
parentd23b96f92376c4b5b4717cfc032ce04db44fca75 (diff)
downloadbcm5719-llvm-2af257cd0de5cec60d7c62c3c8281d5160bf3eb3.tar.gz
bcm5719-llvm-2af257cd0de5cec60d7c62c3c8281d5160bf3eb3.zip
Add deprecation docstrings for some APIs which take an SBFrame - SBValues know their own frames.
llvm-svn: 136194
-rw-r--r--lldb/scripts/Python/interface/SBValue.i25
1 files changed, 18 insertions, 7 deletions
diff --git a/lldb/scripts/Python/interface/SBValue.i b/lldb/scripts/Python/interface/SBValue.i
index c037f1622a6..68e97e3323e 100644
--- a/lldb/scripts/Python/interface/SBValue.i
+++ b/lldb/scripts/Python/interface/SBValue.i
@@ -82,8 +82,13 @@ 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); // DEPRECATED - SBValues know their own frames.
+ IsInScope (const lldb::SBFrame &frame);
bool
IsInScope ();
@@ -94,8 +99,9 @@ public:
void
SetFormat (lldb::Format format);
+ %feature("docstring", DEPRECATED) GetValue;
const char *
- GetValue (const lldb::SBFrame &frame); // DEPRECATED - SBValues know their own frames.
+ GetValue (const lldb::SBFrame &frame);
const char *
GetValue ();
@@ -103,32 +109,37 @@ public:
ValueType
GetValueType ();
+ %feature("docstring", DEPRECATED) GetValueDidChange;
bool
- GetValueDidChange (const lldb::SBFrame &frame); // DEPRECATED - SBValues know their own frames.
+ GetValueDidChange (const lldb::SBFrame &frame);
bool
GetValueDidChange ();
+ %feature("docstring", DEPRECATED) GetSummary;
const char *
- GetSummary (const lldb::SBFrame &frame); // DEPRECATED - SBValues know their own frames.
+ GetSummary (const lldb::SBFrame &frame);
const char *
GetSummary ();
+ %feature("docstring", DEPRECATED) GetObjectDescription;
const char *
- GetObjectDescription (const lldb::SBFrame &frame); // DEPRECATED - SBValues know their own frames.
+ GetObjectDescription (const lldb::SBFrame &frame);
const char *
GetObjectDescription ();
+ %feature("docstring", DEPRECATED) GetLocation;
const char *
- GetLocation (const lldb::SBFrame &frame); // DEPRECATED - SBValues know their own frames.
+ GetLocation (const lldb::SBFrame &frame);
const char *
GetLocation ();
+ %feature("docstring", DEPRECATED) SetValueFromCString;
bool
- SetValueFromCString (const lldb::SBFrame &frame, const char *value_str); // DEPRECATED - SBValues know their own frames.
+ SetValueFromCString (const lldb::SBFrame &frame, const char *value_str);
bool
SetValueFromCString (const char *value_str);
OpenPOWER on IntegriCloud