Searched refs:MatcherCtor (Results 1 – 4 of 4) sorted by relevance
| /src/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,
|
| /src/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Parser.cpp | 324 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context) { in getAcceptedCompletionTypes() argument 336 ScopedContextEntry(Parser *P, MatcherCtor C) : P(P) { in ScopedContextEntry() 439 std::optional<MatcherCtor> Ctor = S->lookupMatcherCtor(NameToken.Text); in parseIdentifierPrefixImpl() 469 bool Parser::parseMatcherBuilder(MatcherCtor Ctor, const TokenInfo &NameToken, in parseMatcherBuilder() 518 std::optional<MatcherCtor> MappedMatcher = in parseMatcherBuilder() 629 std::optional<MatcherCtor> Ctor, in parseMatcherExpressionImpl() 829 std::optional<MatcherCtor> 835 MatcherCtor Ctor, SourceRange NameRange, StringRef BindID, in actOnMatcherExpression() 846 ArrayRef<std::pair<MatcherCtor, unsigned>> Context) { in getAcceptedCompletionTypes() argument 855 bool Parser::RegistrySema::isBuilderMatcher(MatcherCtor Ctor) const { in isBuilderMatcher() [all …]
|
| H A D | Registry.cpp | 619 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()
|