]> granicus.if.org Git - clang/commit
When producing code completion results for variadic macros, fold the
authorDouglas Gregor <dgregor@apple.com>
Sat, 30 Jul 2011 08:17:44 +0000 (08:17 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 30 Jul 2011 08:17:44 +0000 (08:17 +0000)
commite42447021239015db97202fb04c304d82e84135f
tree49c2b8207e266213a7358978ed0ea93c3f2d58a1
parent6fa14dde4ce536c4b09f9b52cad5471682ec6fd3
When producing code completion results for variadic macros, fold the
variadic bit (", ..." or ", args...") into the prior placeholder, like
we do with functions and methods. Fixes <rdar://problem/9740808>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136563 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCodeComplete.cpp
test/Index/complete-macros.c