OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Specificity
(Results
1 - 6
of
6
) sorted by null
/external/clang/include/clang/ASTMatchers/Dynamic/
Registry.h
40
unsigned
Specificity
)
42
Specificity
(
Specificity
) {}
50
/// \brief Value corresponding to the "
specificity
" of the converted matcher.
52
/// Zero
specificity
indicates that this conversion would produce a trivial
55
unsigned
Specificity
;
VariantValue.h
59
/// \param
Specificity
value corresponding to the "
specificity
" of the
61
bool isConvertibleTo(ArgKind To, unsigned *
Specificity
) const;
131
unsigned *
Specificity
) const = 0;
185
/// \param
Specificity
value corresponding to the "
specificity
" of the
188
unsigned *
Specificity
) const {
190
return Value->isConvertibleTo(Kind,
Specificity
);
283
/// \param
Specificity
value corresponding to the "
specificity
" of th
[
all
...]
/external/clang/lib/ASTMatchers/Dynamic/
VariantValue.cpp
35
bool ArgKind::isConvertibleTo(ArgKind To, unsigned *
Specificity
) const {
39
if (
Specificity
)
40
*
Specificity
= 1;
47
if (
Specificity
)
48
*
Specificity
= 100 - Distance;
102
unsigned *
Specificity
) const override {
104
.isConvertibleTo(Kind,
Specificity
);
160
unsigned *
Specificity
) const override {
169
if (
Specificity
)
170
*
Specificity
= MaxSpecificity
[
all
...]
Parser.cpp
442
Completion.
Specificity
> 0) {
444
Completion.MatcherDecl, Completion.
Specificity
);
453
unsigned
Specificity
;
454
if (Entry.getValue().isConvertibleTo(AcceptedTypes, &
Specificity
)) {
457
Result.emplace_back(Entry.getKey(), Decl,
Specificity
);
580
// Sort by
specificity
, then by name.
583
if (A.
Specificity
!= B.
Specificity
)
584
return A.
Specificity
> B.
Specificity
;
[
all
...]
Marshallers.h
147
/// so convertible, store in *
Specificity
a value corresponding to the
148
/// "
specificity
" of the converted matcher to the given context, and in
150
/// same matcher overload. Zero
specificity
indicates that this conversion
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
,
[
all
...]
Registry.cpp
508
unsigned
Specificity
;
510
if (Matcher->isConvertibleTo(Kind.getMatcherKind(), &
Specificity
,
512
if (MaxSpecificity <
Specificity
)
513
MaxSpecificity =
Specificity
;
Completed in 529 milliseconds