diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-09-23 00:34:09 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-09-23 00:34:09 +0000 |
commit | 86d802e03a267af79663990c39865c67e0645238 (patch) | |
tree | 58b70d4a1cb95123c38c27f78e44f0c149e056b9 /test/CodeCompletion/call.cpp | |
parent | 0594438e06f58ab3798416324780ab39ca9c8f54 (diff) |
Print the results of code-completion for overloading by displaying the
signature of the function with the current parameter highlighted as a
placeholder.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82593 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeCompletion/call.cpp')
-rw-r--r-- | test/CodeCompletion/call.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeCompletion/call.cpp b/test/CodeCompletion/call.cpp index 9a6f578abc..448b8ebb6e 100644 --- a/test/CodeCompletion/call.cpp +++ b/test/CodeCompletion/call.cpp @@ -18,11 +18,11 @@ void f(); void test() { f(Y(), 0, 0); // RUN: clang-cc -fsyntax-only -code-completion-at=%s:19:9 %s -o - | FileCheck -check-prefix=CC1 %s && - // CHECK-CC1: int ZZ - // CHECK-NEXT-CC1: int j - // CHECK-NEXT-CC1: float y + // CHECK-CC1: f(struct N::Y y, <#int ZZ#>) + // CHECK-NEXT-CC1: f(int i, <#int j#>, int k) + // CHECK-NEXT-CC1: f(float x, <#float y#>) // RUN: clang-cc -fsyntax-only -code-completion-at=%s:19:13 %s -o - | FileCheck -check-prefix=CC2 %s && - // FIXME: two ellipses are showing up when they shouldn't - // CHECK-CC2: int k + // FIXME: two extra overloads are showing up! + // CHECK-CC2: f(int i, int j, <#int k#>) // RUN: true } |