diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2008-01-21 20:14:23 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-01-21 20:14:23 +0000 |
commit | 7c39ff7eb3dd7ae9b2b81cb66a139c9b52f47f1d (patch) | |
tree | 866b7b17072ce52b37df76680928b81c82a70d54 /Driver/RewriteTest.cpp | |
parent | e0e3abcf9f4e3d12f1f7766a4240393bd56df1c8 (diff) |
Synthesize methods with va-arg list correctly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46212 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/RewriteTest.cpp')
-rw-r--r-- | Driver/RewriteTest.cpp | 2 |
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 += ") "; } |