Home
last modified time | relevance | path

Searched refs:MatcherCtor (Results 1 – 6 of 6) 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/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/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()