long long Type::sizeOf(bool *isValid) const { const long long size = clang_Type_getSizeOf(m_cxType); *isValid = size != CXTypeLayoutError_Invalid && size != CXTypeLayoutError_Incomplete && size != CXTypeLayoutError_Dependent; return size; }
//cursor::type cursor::type::class_type() //{ // return { clang_Type_getClassType(ctype) }; //} long long cursor::type::size_of() { return clang_Type_getSizeOf(ctype); }
size_t Type::GetSizeOf() const { return clang_Type_getSizeOf(type_); }