Home
last modified time | relevance | path

Searched refs:MaxSpecificity (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/ASTMatchers/Dynamic/
DVariantValue.cpp161 unsigned MaxSpecificity = 0; in isConvertibleTo() local
166 MaxSpecificity = std::max(MaxSpecificity, ThisSpecificity); in isConvertibleTo()
170 *Specificity = MaxSpecificity; in isConvertibleTo()
171 return MaxSpecificity > 0; in isConvertibleTo()
367 unsigned MaxSpecificity = 0; in isConvertibleTo() local
372 MaxSpecificity = std::max(MaxSpecificity, ThisSpecificity); in isConvertibleTo()
374 if (Specificity && MaxSpecificity > 0) { in isConvertibleTo()
375 *Specificity = MaxSpecificity; in isConvertibleTo()
377 return MaxSpecificity > 0; in isConvertibleTo()
DRegistry.cpp504 unsigned MaxSpecificity = 0; in getMatcherCompletions() local
512 if (MaxSpecificity < Specificity) in getMatcherCompletions()
513 MaxSpecificity = Specificity; in getMatcherCompletions()
522 if (!RetKinds.empty() && MaxSpecificity > 0) { in getMatcherCompletions()
563 Completions.emplace_back(TypedText, OS.str(), MaxSpecificity); in getMatcherCompletions()