Home
last modified time | relevance | path

Searched refs:MatcherCtor (Results 1 – 12 of 12) sorted by relevance

/external/clang/include/clang/ASTMatchers/Dynamic/
DRegistry.h35 typedef const internal::MatcherDescriptor *MatcherCtor; typedef
68 static llvm::Optional<MatcherCtor> lookupMatcherCtor(StringRef MatcherName);
79 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context);
108 static VariantMatcher constructMatcher(MatcherCtor Ctor,
119 static VariantMatcher constructBoundMatcher(MatcherCtor Ctor,
DParser.h83 virtual VariantMatcher actOnMatcherExpression(MatcherCtor Ctor,
95 virtual llvm::Optional<MatcherCtor>
107 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context);
128 llvm::Optional<MatcherCtor>
131 VariantMatcher actOnMatcherExpression(MatcherCtor Ctor,
138 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context) override;
248 typedef std::vector<std::pair<MatcherCtor, unsigned> > ContextStackTy;
/external/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
DRegistry.h38 using MatcherCtor = const internal::MatcherDescriptor *; variable
73 static llvm::Optional<MatcherCtor> lookupMatcherCtor(StringRef MatcherName);
84 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context);
113 static VariantMatcher constructMatcher(MatcherCtor Ctor,
124 static VariantMatcher constructBoundMatcher(MatcherCtor Ctor,
DParser.h88 virtual VariantMatcher actOnMatcherExpression(MatcherCtor Ctor,
100 virtual llvm::Optional<MatcherCtor>
112 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context);
133 llvm::Optional<MatcherCtor>
136 VariantMatcher actOnMatcherExpression(MatcherCtor Ctor,
143 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context) override;
252 using ContextStackTy = std::vector<std::pair<MatcherCtor, unsigned>>;
/external/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp38 llvm::Optional<MatcherCtor> lookupMatcherCtor(StringRef MatcherName) { in lookupMatcherCtor()
46 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher()
59 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher()
73 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher()
85 std::vector<std::pair<MatcherCtor, unsigned> > Context; in getCompletions()
91 std::vector<std::pair<MatcherCtor, unsigned> > Context; in getCompletions()
92 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName1); in getCompletions()
102 std::vector<std::pair<MatcherCtor, unsigned> > Context; in getCompletions()
103 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName1); in getCompletions()
DParserTest.cpp45 llvm::Optional<MatcherCtor>
49 return reinterpret_cast<MatcherCtor>(Matcher); in lookupMatcherCtor()
52 VariantMatcher actOnMatcherExpression(MatcherCtor Ctor, in actOnMatcherExpression()
/external/llvm-project/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp37 llvm::Optional<MatcherCtor> lookupMatcherCtor(StringRef MatcherName) { in lookupMatcherCtor()
45 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher()
58 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher()
72 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher()
84 std::vector<std::pair<MatcherCtor, unsigned> > Context; in getCompletions()
90 std::vector<std::pair<MatcherCtor, unsigned> > Context; in getCompletions()
91 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName1); in getCompletions()
101 std::vector<std::pair<MatcherCtor, unsigned> > Context; in getCompletions()
102 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName1); in getCompletions()
DParserTest.cpp43 llvm::Optional<MatcherCtor>
47 return reinterpret_cast<MatcherCtor>(Matcher); in lookupMatcherCtor()
50 VariantMatcher actOnMatcherExpression(MatcherCtor Ctor, in actOnMatcherExpression()
/external/clang/lib/ASTMatchers/Dynamic/
DParser.cpp263 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context) { in getAcceptedCompletionTypes() argument
275 ScopedContextEntry(Parser *P, MatcherCtor C) : P(P) { in ScopedContextEntry()
335 llvm::Optional<MatcherCtor> Ctor = S->lookupMatcherCtor(NameToken.Text); in parseMatcherExpressionImpl()
531 llvm::Optional<MatcherCtor>
537 MatcherCtor Ctor, SourceRange NameRange, StringRef BindID, in actOnMatcherExpression()
548 ArrayRef<std::pair<MatcherCtor, unsigned>> Context) { in getAcceptedCompletionTypes() argument
DRegistry.cpp433 llvm::Optional<MatcherCtor> Registry::lookupMatcherCtor(StringRef MatcherName) { in lookupMatcherCtor()
437 ? llvm::Optional<MatcherCtor>() in lookupMatcherCtor()
462 ArrayRef<std::pair<MatcherCtor, unsigned>> Context) { in getAcceptedCompletionTypes() argument
476 MatcherCtor Ctor = CtxEntry.first; in getAcceptedCompletionTypes()
571 VariantMatcher Registry::constructMatcher(MatcherCtor Ctor, in constructMatcher()
579 VariantMatcher Registry::constructBoundMatcher(MatcherCtor Ctor, in constructBoundMatcher()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DParser.cpp324 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context) { in getAcceptedCompletionTypes() argument
336 ScopedContextEntry(Parser *P, MatcherCtor C) : P(P) { in ScopedContextEntry()
463 llvm::Optional<MatcherCtor> Ctor = S->lookupMatcherCtor(NameToken.Text); in parseMatcherExpressionImpl()
634 llvm::Optional<MatcherCtor>
640 MatcherCtor Ctor, SourceRange NameRange, StringRef BindID, in actOnMatcherExpression()
651 ArrayRef<std::pair<MatcherCtor, unsigned>> Context) { in getAcceptedCompletionTypes() argument
DRegistry.cpp560 llvm::Optional<MatcherCtor> Registry::lookupMatcherCtor(StringRef MatcherName) { in lookupMatcherCtor()
563 ? llvm::Optional<MatcherCtor>() in lookupMatcherCtor()
584 ArrayRef<std::pair<MatcherCtor, unsigned>> Context) { in getAcceptedCompletionTypes() argument
598 MatcherCtor Ctor = CtxEntry.first; in getAcceptedCompletionTypes()
692 VariantMatcher Registry::constructMatcher(MatcherCtor Ctor, in constructMatcher()
699 VariantMatcher Registry::constructBoundMatcher(MatcherCtor Ctor, in constructBoundMatcher()