Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Get uses from IASTName/ Ibinding

   I want to write a CDT code that can get me all the uses of a selected declaration.

For example, consider the code :

Struct A{
float x;

A aobj[1000]; //Selected Node is the "aobj" name

void fn()
     for(int i=0; i<1000; i++)
             float temp = aobj[i];  // Would like to programatically derive this location (or use.. and any further uses)

Back to the top