[cfe-users] Getting size of Initialized array

gpu0 via cfe-users cfe-users at lists.llvm.org
Tue Sep 6 20:20:31 PDT 2016


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.


--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20160906/ab531528/attachment.html>


More information about the cfe-users mailing list