<div dir="ltr">Hi,<div><br></div><div>I want to revise the prototype of a FunctionDecl object. Is there any example in Clang that I can have a look?</div><div><br></div><div>For example,</div><div><br></div><div>the original prototype of a FunctionDecl object is:</div>
<div><br></div><div>(int, int, double*) </div><div><br></div><div>and I want to change it to:</div><div><br></div><div>(int, int, long, long, double*)</div><div><br></div><div><br></div><div>I have managed to change the parameters of the FunctionDecl and I am not sure how to revise the prototype.</div>
<div><br></div><div><br>Cheers,
</div><div>Zheng</div></div>