Searched refs:Specificity (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/ASTMatchers/Dynamic/ |
D | VariantValue.cpp | 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() [all …]
|
D | Marshallers.h | 154 ast_type_traits::ASTNodeKind Kind, unsigned *Specificity = nullptr, 164 ast_type_traits::ASTNodeKind Kind, unsigned *Specificity, 167 if (ArgKind(NodeKind).isConvertibleTo(Kind, Specificity)) { 217 ast_type_traits::ASTNodeKind Kind, unsigned *Specificity, 219 return isRetKindConvertibleTo(RetKinds, Kind, Specificity, 372 ast_type_traits::ASTNodeKind Kind, unsigned *Specificity, 374 return isRetKindConvertibleTo(RetKinds, Kind, Specificity, 397 isConvertibleTo(ast_type_traits::ASTNodeKind Kind, unsigned *Specificity, 403 if (VariadicFuncMatcherDescriptor::isConvertibleTo(Kind, Specificity, 406 if (Specificity) [all …]
|
D | Parser.cpp | 442 Completion.Specificity > 0) { in addCompletion() 444 Completion.MatcherDecl, Completion.Specificity); in addCompletion() 453 unsigned Specificity; in getNamedValueCompletions() local 454 if (Entry.getValue().isConvertibleTo(AcceptedTypes, &Specificity)) { in getNamedValueCompletions() 457 Result.emplace_back(Entry.getKey(), Decl, Specificity); in getNamedValueCompletions() 583 if (A.Specificity != B.Specificity) in completeExpression() 584 return A.Specificity > B.Specificity; in completeExpression()
|
D | Registry.cpp | 508 unsigned Specificity; in getMatcherCompletions() local 510 if (Matcher->isConvertibleTo(Kind.getMatcherKind(), &Specificity, in getMatcherCompletions() 512 if (MaxSpecificity < Specificity) in getMatcherCompletions() 513 MaxSpecificity = Specificity; in getMatcherCompletions()
|
/external/clang/include/clang/ASTMatchers/Dynamic/ |
D | Registry.h | 40 unsigned Specificity) in MatcherCompletion() 42 Specificity(Specificity) {} in MatcherCompletion() 55 unsigned Specificity; member
|
D | VariantValue.h | 61 bool isConvertibleTo(ArgKind To, unsigned *Specificity) const; 131 unsigned *Specificity) const = 0; 188 unsigned *Specificity) const { in isConvertibleTo() argument 190 return Value->isConvertibleTo(Kind, Specificity); in isConvertibleTo() 285 bool isConvertibleTo(ArgKind Kind, unsigned* Specificity) const; 295 bool isConvertibleTo(ArrayRef<ArgKind> Kinds, unsigned *Specificity) const;
|
/external/fmtlib/doc/bootstrap/ |
D | buttons.less | 153 // Specificity overrides
|