Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
H A DParser.h88 virtual VariantMatcher actOnMatcherExpression(MatcherCtor Ctor,
100 virtual std::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 std::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 std::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,
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp619 ASTNodeKind Registry::nodeMatcherType(MatcherCtor Ctor) { in nodeMatcherType()
628 bool Registry::isBuilderMatcher(MatcherCtor Ctor) { in isBuilderMatcher()
633 Registry::buildMatcherCtor(MatcherCtor Ctor, SourceRange NameRange, in buildMatcherCtor()
640 std::optional<MatcherCtor> Registry::lookupMatcherCtor(StringRef MatcherName) { in lookupMatcherCtor()
642 return it == RegistryData->constructors().end() ? std::optional<MatcherCtor>() in lookupMatcherCtor()
663 ArrayRef<std::pair<MatcherCtor, unsigned>> Context) { in getAcceptedCompletionTypes() argument
680 MatcherCtor Ctor = CtxEntry.first; in getAcceptedCompletionTypes()
801 VariantMatcher Registry::constructMatcher(MatcherCtor Ctor, in constructMatcher()
808 VariantMatcher Registry::constructBoundMatcher(MatcherCtor Ctor, in constructBoundMatcher()