Retrieving initializer list values

Anubhav Sharma anubhav@cse.iitb.ac.in
Fri Mar 10 15:40:00 GMT 2017


Hello,

Suppose I have the following array declaration inside a function:

     static const int arr[3] = {1,2,3};

Given the tree of variable arr, what functions should I use to find the 
list of values with which the array was initialized?

Thanks and regards,
Anubhav




More information about the Gcc-help mailing list