[cfe-dev] Multi-dimensional arrays

TROUVE Antoine trouve at isit.or.jp
Wed Dec 5 18:23:31 PST 2012


Hello everybody

I would like to know how to access to all the dimensions of an array 
with more than one dimension from its Decl object
In other words, if I have the type "int[42][51]", I would like to get 
both the "42" and the "51".

I figured out how to do so with a single-dimension using an ASTContext, 
but not for multiple dimensions yet.

Best regards,

- Antoine



More information about the cfe-dev mailing list