[cfe-dev] Count number of array references

ruhdam madhur13490 at gmail.com
Sat Sep 14 03:02:35 PDT 2013


Hi,
How can we count number of array references in a given C code with clang?
Assume code looks like this,
void main()
{
     int a[10];
    a[5]=a[5]+1;
}

in the above code, number of array references are 2.



--
View this message in context: http://clang-developers.42468.n3.nabble.com/Count-number-of-array-references-tp4034459.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list