[cfe-dev] Delete a parameter of a FunctionDecl

lostknight thanhtuan at aces.snu.ac.kr
Sat Jul 27 06:07:34 PDT 2013


I'm trying to write a simple source to source translator. At some point of
time, I visit a function and translate it into another language, but this
language does not support some parameter. For now I tell the
printer(DeclPrinter) not to print it, and in some case, where an parameter
needs to be replaced by another, I also use printer to print the proper
string. But I guess there must be a way alternate the AST directly.



--
View this message in context: http://clang-developers.42468.n3.nabble.com/Delete-a-parameter-of-a-FunctionDecl-tp4033465p4033496.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list