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