[PATCH] Fix printing CXXTemporaryObjectExpr with default args

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.


tempobjexpr_defaultarg.patch (1.53 KB)

Sorry, wrong ML - I’ve reposed on cfe-commits.

  • Will.