size of a QualType

Hi again!

Given a QualType, is there an easy way to get the size that type will
take after compilation? Basically I'm looking for the functionality
'sizeof' would provide inside the compiled program.

My own searches through the sources were quite fruitless...

Regards, Jan

You can do. Context.getTypeSize(QT).
There are lots of examples in CodeGen Directory.

- Fariborz