commit | 7c39ff7eb3dd7ae9b2b81cb66a139c9b52f47f1d | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Mon Jan 21 20:14:23 2008 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Mon Jan 21 20:14:23 2008 +0000 |
tree | 866b7b17072ce52b37df76680928b81c82a70d54 | |
parent | e0e3abcf9f4e3d12f1f7766a4240393bd56df1c8 [diff] [blame] |
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 += ") "; }