Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Indexer not detecting any definitions(or occurences) in custom refactoring

   This is awesome. Thanks a lot

       I will look into that. But for my current purpose, Nathans help worked. But I would like to learn the fundas about this binding. As I have bigger flow analysis coming up. 

On Wed, Nov 25, 2015 at 7:24 PM, Nathan Ridge <zeratul976@xxxxxxxxxxx> wrote:
> What is the way to bind local variable names to their type definitions

The IBinding for the variable will be an IVariable, which has a getType() method.

> and also references?

To find references of a local variable, you need to search the AST rather than the index. You can do this with IASTTranslationUnit.getReferences(IBinding).


cdt-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top