ASTRecordLayout::getBaseClassOffset equivalent for indirect bases?

Hello all,

I’ve been trying to use ASTRecordLayout::getBaseClassOffset (http://clang.llvm.org/doxygen/classclang_1_1ASTRecordLayout.html#a23d0a748e9b3b4515c23c5f9beabb2d7). However, it only works for getting offsets to direct bases. Is there a function which also works for indirect bases?

Regards,
Dimitar Dobrev