Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/
H A DParser.h88 virtual VariantMatcher actOnMatcherExpression(MatcherCtor Ctor,
100 virtual llvm::Optional<MatcherCtor>
103 virtual bool isBuilderMatcher(MatcherCtor) const = 0;
105 virtual ASTNodeKind nodeMatcherType(MatcherCtor) const = 0;
108 buildMatcherCtor(MatcherCtor, SourceRange NameRange,
120 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context);
141 llvm::Optional<MatcherCtor>
144 VariantMatcher actOnMatcherExpression(MatcherCtor Ctor,
151 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context) override;
153 bool isBuilderMatcher(MatcherCtor Ctor) const override;
[all …]
H A DRegistry.h55 using MatcherCtor = const internal::MatcherDescriptor *; variable
86 static ASTNodeKind nodeMatcherType(MatcherCtor);
88 static bool isBuilderMatcher(MatcherCtor Ctor);
91 buildMatcherCtor(MatcherCtor, SourceRange NameRange,
98 static llvm::Optional<MatcherCtor> lookupMatcherCtor(StringRef MatcherName);
109 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context);
138 static VariantMatcher constructMatcher(MatcherCtor Ctor,
149 static VariantMatcher constructBoundMatcher(MatcherCtor Ctor,
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
H A DParser.cpp326 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context) { in getAcceptedCompletionTypes() argument
338 ScopedContextEntry(Parser *P, MatcherCtor C) : P(P) { in ScopedContextEntry()
441 llvm::Optional<MatcherCtor> Ctor = S->lookupMatcherCtor(NameToken.Text); in parseIdentifierPrefixImpl()
471 bool Parser::parseMatcherBuilder(MatcherCtor Ctor, const TokenInfo &NameToken, in parseMatcherBuilder()
520 llvm::Optional<MatcherCtor> MappedMatcher = in parseMatcherBuilder()
631 llvm::Optional<MatcherCtor> Ctor, in parseMatcherExpressionImpl()
831 llvm::Optional<MatcherCtor>
837 MatcherCtor Ctor, SourceRange NameRange, StringRef BindID, in actOnMatcherExpression()
848 ArrayRef<std::pair<MatcherCtor, unsigned>> Context) { in getAcceptedCompletionTypes() argument
857 bool Parser::RegistrySema::isBuilderMatcher(MatcherCtor Ctor) const { in isBuilderMatcher()
[all …]
H A DRegistry.cpp577 ASTNodeKind Registry::nodeMatcherType(MatcherCtor Ctor) { in nodeMatcherType()
586 bool Registry::isBuilderMatcher(MatcherCtor Ctor) { in isBuilderMatcher()
591 Registry::buildMatcherCtor(MatcherCtor Ctor, SourceRange NameRange, in buildMatcherCtor()
598 llvm::Optional<MatcherCtor> Registry::lookupMatcherCtor(StringRef MatcherName) { in lookupMatcherCtor()
601 ? llvm::Optional<MatcherCtor>() in lookupMatcherCtor()
622 ArrayRef<std::pair<MatcherCtor, unsigned>> Context) { in getAcceptedCompletionTypes() argument
639 MatcherCtor Ctor = CtxEntry.first; in getAcceptedCompletionTypes()
760 VariantMatcher Registry::constructMatcher(MatcherCtor Ctor, in constructMatcher()
767 VariantMatcher Registry::constructBoundMatcher(MatcherCtor Ctor, in constructBoundMatcher()