diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-09-22 21:42:17 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-09-22 21:42:17 +0000 |
| commit | ba4490399b6716cc57297506bdaf3c440d000d0d (patch) | |
| tree | 37f43dd6b571d63cf03cdc83d9f15caeef4b9b07 /clang/test/CodeCompletion | |
| parent | 9bfc2e50a78642e0db04c01584d77f75d8e5f425 (diff) | |
| download | bcm5719-llvm-ba4490399b6716cc57297506bdaf3c440d000d0d.tar.gz bcm5719-llvm-ba4490399b6716cc57297506bdaf3c440d000d0d.zip | |
Teach code-completion to introduce a ", ..." placeholder for variadic functions
llvm-svn: 82577
Diffstat (limited to 'clang/test/CodeCompletion')
| -rw-r--r-- | clang/test/CodeCompletion/functions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeCompletion/functions.cpp b/clang/test/CodeCompletion/functions.cpp index f04ef01d705..2e1bc6edf8c 100644 --- a/clang/test/CodeCompletion/functions.cpp +++ b/clang/test/CodeCompletion/functions.cpp @@ -1,9 +1,9 @@ void f(int i, int j = 2, int k = 5); -void f(float x, float y); +void f(float x, float y...); void test() { :: // RUN: clang-cc -fsyntax-only -code-completion-at=%s:5:5 %s -o - | FileCheck -check-prefix=CC1 %s && // CHECK-CC1: f(<#int i#>{#, <#int j#>{#, <#int k#>#}#}) - // CHECK-CC1: f(<#float x#>, <#float y#>) + // CHECK-CC1: f(<#float x#>, <#float y#><#, ...#>) // RUN: true |

