Lines Matching refs:target

120 bool Checker::IsAllTypesAssignableTo(Type *source, Type *target)
126 [this, target](auto *it) { return IsAllTypesAssignableTo(it, target); });
129 return relation_->IsAssignableTo(source, target);
132 bool Checker::IsTypeIdenticalTo(Type *source, Type *target)
134 return relation_->IsIdenticalTo(source, target);
137 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, const std::string &errMsg,
140 if (!IsTypeIdenticalTo(source, target)) {
147 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, std::initializer_list<TypeErrorMessageElement> list,
150 if (!IsTypeIdenticalTo(source, target)) {
157 bool Checker::IsTypeAssignableTo(Type *source, Type *target)
159 return relation_->IsAssignableTo(source, target);
162 bool Checker::IsTypeAssignableTo(Type *source, Type *target, const std::string &errMsg,
165 if (!IsTypeAssignableTo(source, target)) {
172 bool Checker::IsTypeAssignableTo(Type *source, Type *target, std::initializer_list<TypeErrorMessageElement> list,
175 if (!IsTypeAssignableTo(source, target)) {
182 bool Checker::IsTypeComparableTo(Type *source, Type *target)
184 return relation_->IsComparableTo(source, target);
187 bool Checker::IsTypeComparableTo(Type *source, Type *target, const std::string &errMsg,
190 if (!IsTypeComparableTo(source, target)) {
197 bool Checker::IsTypeComparableTo(Type *source, Type *target, std::initializer_list<TypeErrorMessageElement> list,
200 if (!IsTypeComparableTo(source, target)) {
207 bool Checker::AreTypesComparable(Type *source, Type *target)
209 return IsTypeComparableTo(source, target) || IsTypeComparableTo(target, source);
212 bool Checker::IsTypeEqualityComparableTo(Type *source, Type *target)
214 return IsTypeComparableTo(source, target);