Fix test suite. For now we can't disable C++ for expressions since the return value...
authorGreg Clayton <gclayton@apple.com>
Mon, 27 Jul 2015 23:02:14 +0000 (23:02 +0000)
committerGreg Clayton <gclayton@apple.com>
Mon, 27 Jul 2015 23:02:14 +0000 (23:02 +0000)
llvm-svn: 243342

lldb/test/expression_command/options/TestExprOptions.py

index 17c2fa4..2b7519d 100644 (file)
@@ -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())