Synthesize methods with va-arg list correctly.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46212 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/RewriteTest.cpp b/Driver/RewriteTest.cpp
index b111e09..c1243b9 100644
--- a/Driver/RewriteTest.cpp
+++ b/Driver/RewriteTest.cpp
@@ -606,6 +606,8 @@
     ResultStr += " ";
     ResultStr += PDecl->getName();
   }
+  if (OMD->isVariadic())
+    ResultStr += ", ...";
   ResultStr += ") ";
   
 }