commit | 2fab94e830357d7241fd164354fc779bb88520c6 | [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 | dcf0a4ab1c88f229cb9df420baee32406e0ff9e1 [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 += ") "; }