[cfe-dev] r156228 breaks rewriting of DeclStmt
Olaf Krzikalla
Olaf.Krzikalla at tu-dresden.de
Mon Jul 23 08:11:32 PDT 2012
Hi @clang,
as said above, a group of var decls is no longer rewritten properly:
// before r156228
int x,y,z;
// introducing r156228
int x,,;
This comes from the fact, that TypePrinter::print exits, before the
PlaceHolder is printed. I hesitate to provide a simple patch, since I'm
unsure how things like
int *x, *y, *z;
can be rewritten correctly. Someone have to look into it.
Best regards
Olaf Krzikalla
More information about the cfe-dev
mailing list