Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Construct a variable declaration from Literal/Id expression

Its hard to understand what you are talking about. Can you give example of your code?

On Thu, Dec 11, 2014 at 10:37 AM, Krishna Narasimhan <krishna.nm86@xxxxxxxxx> wrote:

Actually i figured out the literalexpression. The issue am having is with the idexpressions. I tried resolvebindings. And getlinkage. Nothing gets me the type.

On Dec 11, 2014 12:16 PM, "Krishna Narasimhan" <krishna.nm86@xxxxxxxxx> wrote:
Hi,
   How do I construct a  variable declaration given a ID or Literal _expression_. Basically, all I need is the type information, so I can use NodeFactory to create a new declSpecifier . 



Regards
       Krishna

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top