Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Using ASTRewrite to Change the DeclSpecifier of aFunction

What exact classes are you trying to instantiate? Could you provide an example (small piece of code) to show what you can and what you can't instantiate?


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of pingu219@xxxxxxxxx
Sent: Wednesday, May 21, 2008 4:39 PM
To: Graf Emanuel (egraf@xxxxxx); CDT General developers list.
Subject: Re: [cdt-dev] Using ASTRewrite to Change the DeclSpecifier of aFunction

ICASTSimpleDeclSpecifier somehow isn't allowed to be instantiated...neither is IASTSimpleDeclSpecifier
 
ICPPASTSimpleDeclSpecifier can be instantiated but the above two can't.


 
On Wed, May 21, 2008 at 10:13 PM, Emanuel Graf <egraf@xxxxxx> wrote:
On Wednesday 21 May 2008, student08 wrote:
> The problem I have is that I can't instantiate a new IASTDeclSpecifier node
> to use ASTRewrite.replace with.

Why can't you instantiate a new node to replace the existing one?

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top