Searched refs:MatcherCtor (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/ |
| H A D | Parser.h | 88 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 D | Registry.h | 55 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 D | Parser.cpp | 323 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context) { in getAcceptedCompletionTypes() argument 335 ScopedContextEntry(Parser *P, MatcherCtor C) : P(P) { in ScopedContextEntry() 438 std::optional<MatcherCtor> Ctor = S->lookupMatcherCtor(NameToken.Text); in parseIdentifierPrefixImpl() 468 bool Parser::parseMatcherBuilder(MatcherCtor Ctor, const TokenInfo &NameToken, in parseMatcherBuilder() 517 std::optional<MatcherCtor> MappedMatcher = in parseMatcherBuilder() 628 std::optional<MatcherCtor> Ctor, in parseMatcherExpressionImpl() 828 std::optional<MatcherCtor> 834 MatcherCtor Ctor, SourceRange NameRange, StringRef BindID, in actOnMatcherExpression() 845 ArrayRef<std::pair<MatcherCtor, unsigned>> Context) { in getAcceptedCompletionTypes() argument 854 bool Parser::RegistrySema::isBuilderMatcher(MatcherCtor Ctor) const { in isBuilderMatcher() [all …]
|
| H A D | Registry.cpp | 622 ASTNodeKind Registry::nodeMatcherType(MatcherCtor Ctor) { in nodeMatcherType() 631 bool Registry::isBuilderMatcher(MatcherCtor Ctor) { in isBuilderMatcher() 636 Registry::buildMatcherCtor(MatcherCtor Ctor, SourceRange NameRange, in buildMatcherCtor() 643 std::optional<MatcherCtor> Registry::lookupMatcherCtor(StringRef MatcherName) { in lookupMatcherCtor() 645 return it == RegistryData->constructors().end() ? std::optional<MatcherCtor>() in lookupMatcherCtor() 666 ArrayRef<std::pair<MatcherCtor, unsigned>> Context) { in getAcceptedCompletionTypes() argument 683 MatcherCtor Ctor = CtxEntry.first; in getAcceptedCompletionTypes() 804 VariantMatcher Registry::constructMatcher(MatcherCtor Ctor, in constructMatcher() 811 VariantMatcher Registry::constructBoundMatcher(MatcherCtor Ctor, in constructBoundMatcher()
|