Hi all,<div><br></div><div>I just started to learn Clang. I am trying to use clang (version 3.0) to process code to extract some stmt and print them out.</div><div><br></div><div>When I use printPretty() of stmt for a stmt as following:</div>

<div><br></div><div>     x = 1.0f/3.0f;</div><div><br></div><div>I got</div><div><br></div><div>     x=1/3;  </div><div><br></div><div><br></div><div>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...</div>

<div><br></div><div>Thank you very much for reading this and looking forward to get your kindly help.</div><div><br></div><div><br></div><div>Susan</div><div><br></div><div><br></div><div><br></div>