[cfe-dev] How to change calling convention.

Anderson, Todd A todd.a.anderson at intel.com
Tue Jul 26 16:36:44 PDT 2011


>From within HandleTopLevelDecl, I'm trying to modify a function's calling convention if it is not explicitly given.  getType() returns a const though.  Any suggestions how to modify the underlying type?

Also, what would be the best way to call a method on the Lexer from BackendConsumer::HandleTopLevelDecl?

Thanks,

Todd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110726/bd55521a/attachment.html>


More information about the cfe-dev mailing list