aboutsummaryrefslogtreecommitdiff
path: root/Driver/RewriteTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Driver/RewriteTest.cpp')
-rw-r--r--Driver/RewriteTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Driver/RewriteTest.cpp b/Driver/RewriteTest.cpp
index b111e09a32..c1243b91ed 100644
--- a/Driver/RewriteTest.cpp
+++ b/Driver/RewriteTest.cpp
@@ -606,6 +606,8 @@ void RewriteTest::RewriteObjCMethodDecl(ObjCMethodDecl *OMD,
ResultStr += " ";
ResultStr += PDecl->getName();
}
+ if (OMD->isVariadic())
+ ResultStr += ", ...";
ResultStr += ") ";
}