[cfe-dev] Revising the function prototype

Zheng Wang jason.wangz at gmail.com
Wed May 18 06:36:53 PDT 2011


Hi,

I want to revise the prototype of a FunctionDecl object. Is there any
example in Clang that I can have a look?

For example,

the original prototype of a FunctionDecl object is:

(int, int, double*)

and I want to change it to:

(int, int, long, long, double*)


I have managed to change the parameters of the FunctionDecl and I am not
sure how to revise the prototype.


Cheers,
Zheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110518/f59b97a7/attachment.html>


More information about the cfe-dev mailing list