summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeCompletion
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-09-22 23:22:24 +0000
committerDouglas Gregor <dgregor@apple.com>2009-09-22 23:22:24 +0000
commit2b3ee156fc516ba18752b5e05b29d63b7df1ce1a (patch)
treeb8c3c6dc88528ebecc1db3988cd80db92c76235e /clang/test/CodeCompletion
parent5bf52697b079b4b7c9db9a38c202788743d7264d (diff)
downloadbcm5719-llvm-2b3ee156fc516ba18752b5e05b29d63b7df1ce1a.tar.gz
bcm5719-llvm-2b3ee156fc516ba18752b5e05b29d63b7df1ce1a.zip
When code-completion finds a declaration only because it is usable as
the start of a nested-name-specifier, add the "::" after the nested-name-specifier to the code-completion string. llvm-svn: 82587
Diffstat (limited to 'clang/test/CodeCompletion')
-rw-r--r--clang/test/CodeCompletion/tag.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeCompletion/tag.cpp b/clang/test/CodeCompletion/tag.cpp
index 2642b7c7317..b00ff1fabda 100644
--- a/clang/test/CodeCompletion/tag.cpp
+++ b/clang/test/CodeCompletion/tag.cpp
@@ -21,6 +21,6 @@ namespace N {
// CHECK-CC1: A : 4
// CHECK-CC1: X : 4
// CHECK-CC1: Y : 4
- // CHECK-CC1: M : 9
- // CHECK-CC1: N : 9
+ // CHECK-CC1: M : 9 : M::
+ // CHECK-CC1: N : 9 : N::
// RUN: true
OpenPOWER on IntegriCloud