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.cpp462 unsigned MaxSpecificity = 0; in getMatcherCompletions() local
470 if (MaxSpecificity < Specificity) in getMatcherCompletions()
471 MaxSpecificity = Specificity; in getMatcherCompletions()
480 if (!RetKinds.empty() && MaxSpecificity > 0) { in getMatcherCompletions()
521 Completions.emplace_back(TypedText, OS.str(), MaxSpecificity); in getMatcherCompletions()