summaryrefslogtreecommitdiff
path: root/test/CodeCompletion
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-12-11 16:18:54 +0000
committerDouglas Gregor <dgregor@apple.com>2009-12-11 16:18:54 +0000
commite29ffaae9b2f474b1cf559704c66de8498177559 (patch)
tree62debd875a65cb8a79c42478cefc2a58d704acfd /test/CodeCompletion
parent8d04258483be6583f0865464234d014807a3e1cc (diff)
downloadclang-e29ffaae9b2f474b1cf559704c66de8498177559.tar.gz
Class template (partial) specializations should not show up in code completion results
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91125 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeCompletion')
-rw-r--r--test/CodeCompletion/templates.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeCompletion/templates.cpp b/test/CodeCompletion/templates.cpp
index d35e0bb8dc..5a0bdb19f1 100644
--- a/test/CodeCompletion/templates.cpp
+++ b/test/CodeCompletion/templates.cpp
@@ -2,15 +2,15 @@ namespace std {
template<typename T>
class allocator;
- template<typename T, typename Alloc = std::allocator<T> >
- class vector;
+ template<typename T, typename Alloc = std::allocator<T> > class vector;
+ template<typename Alloc> class vector<bool, Alloc>;
}
void f() {
std::
// RUN: clang-cc -fsyntax-only -code-completion-at=%s:10:8 %s -o - | FileCheck -check-prefix=CC1 %s
// CHECK-CC1: allocator<<#typename T#>>
- // CHECK-CC1: vector<<#typename T#>{#, <#typename Alloc#>#}>
+ // CHECK-CC1-NEXT: vector<<#typename T#>{#, <#typename Alloc#>#}>