[cfe-dev] where is the array and how can I get it?

Rambo hunanlwm at sina.cn
Wed Oct 24 08:00:02 PDT 2012


Hello All,

I'm trying to get imformation about a array.The position,type and variables
are included in the information.For example,a program like this:
int main()
{
    int i=5;
    int num[i]={1,2,3,4,5}
}
I want to get the the  location is line:4、row:8,type is int and varible is
i.How can I get them and 
which API may work if I need?

Thanks!  



--
View this message in context: http://clang-developers.42468.n3.nabble.com/where-is-the-array-and-how-can-I-get-it-tp4027691.html
Sent from the Clang Developers mailing list archive at Nabble.com.




More information about the cfe-dev mailing list