[cfe-dev] Clang: convert stmt to string
Manasij Mukherjee
manasij7479 at gmail.com
Mon Dec 22 11:49:59 PST 2014
Hi
You can use the printPretty member function to print the stmt into a
llvm::raw_string_ostream.
>From that you can get your string. (Sting --> String ??)
Manasij Mukherjee
On Mon, Dec 22, 2014 at 9:48 PM, xiaohui chen <xchen198812 at gmail.com> wrote:
> HI there:
>
> Which API can be used to convert a Stmt to Sting in Clang AST?
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20141223/79aa2e8a/attachment.html>
More information about the cfe-dev
mailing list