[cfe-dev] a basic question about stmt printPretty() and float point constant without "f"

Olaf Krzikalla Olaf.Krzikalla at tu-dresden.de
Thu Sep 20 05:57:43 PDT 2012

Am 19.09.2012 22:51, schrieb Dmitri Gribenko:
> On Wed, Sep 19, 2012 at 11:28 PM, Shuang GAO <gaoshuang at gmail.com> wrote:
>> Would anyone help me to know what i should do to keep the ".0" in the dumped
>> code. I tried to look through PrintingPolicy struct, but have no idea for
>> this...
> Patches are always welcome!  If you are interested in fixing this,
> take a look at StmtPrinter::VisitFloatingLiteral function.
The sad truth is that I've already provided a patch for exactly that 
problem some month ago. And after nobody cared here, I retried at 
cfe-commits. Same result: nobody cared.

Best Olaf

More information about the cfe-dev mailing list