[cfe-dev] prettyprint statement
madil90
madil90 at gmail.com
Tue Dec 25 10:57:54 PST 2012
Hi,
When using prettyPrint (or Rewriter::ConverToString()) to print a
statement, clang prints some statements with ";" and some without it. The
statement "int a,b;" is printed as it is while the statement "a--;" is
printed as "a--" omitting the ";" at the end. How can I tell which
statements retain ";" and which statements omit it. Is there any special
reason for not including ";" in some statements?
Regards,
Adil
--
View this message in context: http://clang-developers.42468.n3.nabble.com/prettyprint-statement-tp4029182.html
Sent from the Clang Developers mailing list archive at Nabble.com.
More information about the cfe-dev
mailing list