Clang: convert stmt to string

HI there:

Which API can be used to convert a Stmt to Sting in Clang AST?

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