Lines Matching refs:Specificity
35 bool ArgKind::isConvertibleTo(ArgKind To, unsigned *Specificity) const { in isConvertibleTo()
39 if (Specificity) in isConvertibleTo()
40 *Specificity = 1; in isConvertibleTo()
47 if (Specificity) in isConvertibleTo()
48 *Specificity = 100 - Distance; in isConvertibleTo()
102 unsigned *Specificity) const override { in isConvertibleTo()
104 .isConvertibleTo(Kind, Specificity); in isConvertibleTo()
160 unsigned *Specificity) const override { in isConvertibleTo()
169 if (Specificity) in isConvertibleTo()
170 *Specificity = MaxSpecificity; in isConvertibleTo()
203 unsigned *Specificity) const override { in isConvertibleTo()
205 if (!Matcher.isConvertibleTo(Kind, Specificity)) in isConvertibleTo()
343 bool VariantValue::isConvertibleTo(ArgKind Kind, unsigned *Specificity) const { in isConvertibleTo()
348 *Specificity = 1; in isConvertibleTo()
354 *Specificity = 1; in isConvertibleTo()
360 return getMatcher().isConvertibleTo(Kind.getMatcherKind(), Specificity); in isConvertibleTo()
366 unsigned *Specificity) const { in isConvertibleTo()
374 if (Specificity && MaxSpecificity > 0) { in isConvertibleTo()
375 *Specificity = MaxSpecificity; in isConvertibleTo()