Getting size of Initialized array

Hi,
I am experimenting with Clang. I want to get information of length of initialized array A[10]; global declaration?

https://github.com/gpu0/clang-tutorial/blob/master/tut02/bounds-check.c

It is a test and I want to do bounds check on it.

The source is in file.cpp in the same directory.