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/test/lang/cpp/class_static/TestStaticVariables.py | |
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/test/lang/cpp/class_static/TestStaticVariables.py')
-rw-r--r-- | lldb/test/lang/cpp/class_static/TestStaticVariables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/lang/cpp/class_static/TestStaticVariables.py b/lldb/test/lang/cpp/class_static/TestStaticVariables.py index a7297d75976..51545344aed 100644 --- a/lldb/test/lang/cpp/class_static/TestStaticVariables.py +++ b/lldb/test/lang/cpp/class_static/TestStaticVariables.py @@ -116,7 +116,7 @@ class StaticVariableTestCase(TestBase): child1_x = child1.GetChildAtIndex(0) self.DebugSBValue(child1_x) self.assertTrue(child1_x.GetTypeName() == 'int' and - child1_x.GetValue(frame) == '11') + child1_x.GetValue() == '11') # SBFrame.FindValue() should also work. val = frame.FindValue("A::g_points", lldb.eValueTypeVariableGlobal) |