Searched refs:MatcherName (Results 1 - 8 of 8) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersMacros.h364 #define AST_TYPE_TRAVERSE_MATCHER_DECL(MatcherName, FunctionName, \
367 template <typename T> struct TypeMatcher##MatcherName##Getter { \
374 ::clang::ast_matchers::internal::TypeMatcher##MatcherName##Getter, \
376 ReturnTypesF>::Func MatcherName
378 #define AST_TYPE_TRAVERSE_MATCHER_DEF(MatcherName, ReturnTypesF) \
381 ::clang::ast_matchers::internal::TypeMatcher##MatcherName##Getter, \
383 ReturnTypesF>::Func MatcherName
385 /// AST_TYPE_TRAVERSE_MATCHER(MatcherName, FunctionName) defines
386 /// the matcher \c MatcherName that can be used to traverse from one \c Type
392 #define AST_TYPE_TRAVERSE_MATCHER(MatcherName, FunctionNam
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DMarshallers.h256 StringRef MatcherName,
268 MarshallerType Marshaller, void (*Func)(), StringRef MatcherName,
271 : Marshaller(Marshaller), Func(Func), MatcherName(MatcherName),
278 return Marshaller(Func, MatcherName, NameRange, Args, Error);
299 const std::string MatcherName; member in class:clang::ast_matchers::dynamic::internal::FixedArgCountMatcherDescriptor
376 variadicMatcherDescriptor(StringRef MatcherName, SourceRange NameRange, argument
417 using RunFunc = VariantMatcher (*)(StringRef MatcherName,
426 StringRef MatcherName)
428 MatcherName(MatcherNam
267 FixedArgCountMatcherDescriptor( MarshallerType Marshaller, void (*Func)(), StringRef MatcherName, ArrayRef<ast_type_traits::ASTNodeKind> RetKinds, ArrayRef<ArgKind> ArgKinds) argument
424 VariadicFuncMatcherDescriptor( ast_matchers::internal::VariadicFunction<ResultT, ArgT, F> Func, StringRef MatcherName) argument
456 const std::string MatcherName; member in class:clang::ast_matchers::dynamic::internal::VariadicFuncMatcherDescriptor
465 DynCastAllOfMatcherDescriptor( ast_matchers::internal::VariadicDynCastAllOfMatcher<BaseT, DerivedT> Func, StringRef MatcherName) argument
513 matcherMarshall0(void (*Func)(), StringRef MatcherName, SourceRange NameRange, ArrayRef<ParserValue> Args, Diagnostics *Error) argument
524 matcherMarshall1(void (*Func)(), StringRef MatcherName, SourceRange NameRange, ArrayRef<ParserValue> Args, Diagnostics *Error) argument
537 matcherMarshall2(void (*Func)(), StringRef MatcherName, SourceRange NameRange, ArrayRef<ParserValue> Args, Diagnostics *Error) argument
665 VariadicOperatorMatcherDescriptor(unsigned MinCount, unsigned MaxCount, VarOp Op, StringRef MatcherName) argument
720 const StringRef MatcherName; member in class:clang::ast_matchers::dynamic::internal::VariadicOperatorMatcherDescriptor
729 makeMatcherAutoMarshall(ReturnType (Func)), StringRef MatcherName) argument
740 makeMatcherAutoMarshall(ReturnType (Func)ArgType1), StringRef MatcherName) argument
752 makeMatcherAutoMarshall(ReturnType (Func)ArgType1, ArgType2), StringRef MatcherName) argument
766 makeMatcherAutoMarshall( ast_matchers::internal::VariadicFunction<ResultT, ArgT, Func> VarFunc, StringRef MatcherName) argument
777 makeMatcherAutoMarshall( ast_matchers::internal::VariadicDynCastAllOfMatcher<BaseT, DerivedT> VarFunc, StringRef MatcherName) argument
787 makeMatcherAutoMarshall( ast_matchers::internal::ArgumentAdaptingMatcherFunc<ArgumentAdapterT, FromTypes, ToTypes>, StringRef MatcherName) argument
809 makeMatcherAutoMarshall( ast_matchers::internal::VariadicOperatorMatcherFunc<MinCount, MaxCount> Func, StringRef MatcherName) argument
[all...]
H A DDiagnostics.cpp24 StringRef MatcherName,
27 Error->pushContextFrame(CT_MatcherConstruct, MatcherRange) << MatcherName;
31 StringRef MatcherName,
36 << MatcherName; local
23 Context(ConstructMatcherEnum, Diagnostics *Error, StringRef MatcherName, SourceRange MatcherRange) argument
30 Context(MatcherArgEnum, Diagnostics *Error, StringRef MatcherName, SourceRange MatcherRange, unsigned ArgNumber) argument
H A DRegistry.cpp55 void registerMatcher(StringRef MatcherName,
64 StringRef MatcherName, std::unique_ptr<MatcherDescriptor> Callback) {
65 assert(Constructors.find(MatcherName) == Constructors.end());
66 Constructors[MatcherName] = std::move(Callback);
537 llvm::Optional<MatcherCtor> Registry::lookupMatcherCtor(StringRef MatcherName) { argument
538 auto it = RegistryData->constructors().find(MatcherName);
63 registerMatcher( StringRef MatcherName, std::unique_ptr<MatcherDescriptor> Callback) argument
H A DParser.cpp635 Parser::RegistrySema::lookupMatcherCtor(StringRef MatcherName) { argument
636 return Registry::lookupMatcherCtor(MatcherName);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
H A DDiagnostics.h105 Context(ConstructMatcherEnum, Diagnostics *Error, StringRef MatcherName,
109 Context(MatcherArgEnum, Diagnostics *Error, StringRef MatcherName,
H A DRegistry.h73 static llvm::Optional<MatcherCtor> lookupMatcherCtor(StringRef MatcherName);
H A DParser.h13 /// MatcherName(Arg0, Arg1, ..., ArgN)
96 /// \param MatcherName The matcher name found by the parser.
101 lookupMatcherCtor(StringRef MatcherName) = 0;
134 lookupMatcherCtor(StringRef MatcherName) override;

Completed in 87 milliseconds