// EqualTypes determines whether two Types represent the same type. func EqualTypes(t1, t2 Type) bool { o := C.clang_equalTypes(t1.c, t2.c) if o != C.uint(0) { return true } return false }
/* Determine whether two CXTypes represent the same type. Returns non-zero if the CXTypes represent the same type and zero otherwise. */ func (t Type) Equal(t2 Type) bool { o := C.clang_equalTypes(t.c, t2.c) return o != C.uint(0) }