On Thu, Apr 25, 2013 at 3:50 PM, B B <blackbox.dev.ml at gmail.com> wrote: > Thank you! It works like a charm No worries. I've just noticed a function ConstantExpr::getSizeOf which looks like it automates the process if you want to simplify your C++ code. Tim.