[PATCH] Fix printing CXXTemporaryObjectExpr with default args

Will Wilson will at indefiant.com
Thu May 23 13:26:15 PDT 2013


[Forwarded from cfe-dev, apologies!]

Hi All,

Attached is a patch for a bug in the printing of CXXTemporaryObjectExpr
whereby an extraneous comma will appear before an (implicit) defaulted
argument.

Test case included and all tests passed locally.

Cheers,
Will.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130523/16815c8e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tempobjexpr_defaultarg.patch
Type: application/octet-stream
Size: 1566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130523/16815c8e/attachment.obj>


More information about the cfe-commits mailing list