summaryrefslogtreecommitdiffstats
path: root/lldb/test/expression_command
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-07-27 23:02:14 +0000
committerGreg Clayton <gclayton@apple.com>2015-07-27 23:02:14 +0000
commita90d0992b7eeca503d02dd119b3e949df83b79d0 (patch)
treea9a54953494a6e1a893d876d63d713dbe881f0ab /lldb/test/expression_command
parent69ed7170dc155cb1c8c375c9a5fb899aafc70744 (diff)
downloadbcm5719-llvm-a90d0992b7eeca503d02dd119b3e949df83b79d0.tar.gz
bcm5719-llvm-a90d0992b7eeca503d02dd119b3e949df83b79d0.zip
Fix test suite. For now we can't disable C++ for expressions since the return value is returned as a reference and this test fails on MacOSX.
llvm-svn: 243342
Diffstat (limited to 'lldb/test/expression_command')
-rw-r--r--lldb/test/expression_command/options/TestExprOptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/expression_command/options/TestExprOptions.py b/lldb/test/expression_command/options/TestExprOptions.py
index 17c2fa49116..2b7519dcad6 100644
--- a/lldb/test/expression_command/options/TestExprOptions.py
+++ b/lldb/test/expression_command/options/TestExprOptions.py
@@ -69,7 +69,7 @@ class ExprOptionsTestCase(TestBase):
self.DebugSBValue(val)
# Make sure it still works if language is set to ObjC:
- options.SetLanguage(lldb.eLanguageTypeObjC)
+ options.SetLanguage(lldb.eLanguageTypeObjC_plus_plus)
val = frame.EvaluateExpression('id my_id = 0; my_id', options)
self.assertTrue(val.IsValid())
self.assertTrue(val.GetError().Success())
OpenPOWER on IntegriCloud