summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-07-27 23:17:56 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-07-27 23:17:56 +0000
commit847f511300c3863504ecec5dc8b5b6a54304267d (patch)
tree71504b3b51adde9ca48c027a0eaf7e2bd1b8e796
parente37f7dc349a34894408a95702f46fe7ce62d0676 (diff)
downloadbcm5719-llvm-847f511300c3863504ecec5dc8b5b6a54304267d.tar.gz
bcm5719-llvm-847f511300c3863504ecec5dc8b5b6a54304267d.zip
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. llvm-svn: 136290
-rw-r--r--lldb/test/lang/cpp/namespace/TestNamespace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/lang/cpp/namespace/TestNamespace.py b/lldb/test/lang/cpp/namespace/TestNamespace.py
index 264038c6331..d1418e53328 100644
--- a/lldb/test/lang/cpp/namespace/TestNamespace.py
+++ b/lldb/test/lang/cpp/namespace/TestNamespace.py
@@ -100,7 +100,7 @@ class NamespaceTestCase(TestBase):
# 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"])
OpenPOWER on IntegriCloud