[Lldb-commits] [lldb] r136290 - /lldb/trunk/test/lang/cpp/namespace/TestNamespace.py
Johnny Chen
johnny.chen at apple.com
Wed Jul 27 16:17:56 PDT 2011
Author: johnny
Date: Wed Jul 27 18:17:56 2011
New Revision: 136290
URL: http://llvm.org/viewvc/llvm-project?rev=136290&view=rev
Log:
Modify:
self.expect("expression -- '(anonymous namespace)::i'", VARIABLES_DISPLAYED_CORRECTLY,
substrs = [" = 3"])
to get rid of the '(anonymous namespace)', which is not c++ syntax, thingy fed to the expression parser.
According to rdar://problem/8668674. It is still marked expectedFailure since the bug has not been fixed.
Modified:
lldb/trunk/test/lang/cpp/namespace/TestNamespace.py
Modified: lldb/trunk/test/lang/cpp/namespace/TestNamespace.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/namespace/TestNamespace.py?rev=136290&r1=136289&r2=136290&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/namespace/TestNamespace.py (original)
+++ lldb/trunk/test/lang/cpp/namespace/TestNamespace.py Wed Jul 27 18:17:56 2011
@@ -100,7 +100,7 @@
# rdar://problem/8668674
# expression command with fully qualified namespace for a variable does not work
- self.expect("expression -- '(anonymous namespace)::i'", VARIABLES_DISPLAYED_CORRECTLY,
+ self.expect("expression -- '::i'", VARIABLES_DISPLAYED_CORRECTLY,
substrs = [" = 3"])
self.expect("expression -- 'A::B::j'", VARIABLES_DISPLAYED_CORRECTLY,
substrs = [" = 4"])
More information about the lldb-commits
mailing list