Accessing the "clang type system" from the lldb api

To continue an unfinished discussion from a while back,

From what I can see lldb basically "builds" the clang type system for any project it debugs and uses that to both compile and validate expressions for evaluation. Is there any clean way to get access to this type system from the SB* side? IE find and list types, their members etc?

Yes. Search for SBType and SBTypeList and check out the SBType.h file.