On Mon, Nov 08, 2010 at 02:52:32PM +0700, Pisit Makpaisit wrote: > How can I get size of arrays from QualType object? For constant sized arrays (the most common case), dyn_cast to ConstantArrayType and use ConstantArrayType::getSize. For the others, look at the other subclasses of ArrayType. Thanks, -- Peter