[cfe-dev] How to change calling convention.
Eli Friedman
eli.friedman at gmail.com
Tue Jul 26 16:50:24 PDT 2011
On Tue, Jul 26, 2011 at 4:36 PM, Anderson, Todd A
<todd.a.anderson at intel.com> wrote:
> 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?
Types are immutable, but FunctionDecl's do have a setType method.
> Also, what would be the best way to call a method on the Lexer from
> BackendConsumer::HandleTopLevelDecl?
What are you trying to do?
-Eli
More information about the cfe-dev
mailing list