struct MatchFinder::MatchersByType

Declaration

struct MatchFinder::MatchersByType { /* full declaration omitted */ };

Description

For each \c Matcher<> a \c MatchCallback that will be called when it matches.

Declared at: clang/include/clang/ASTMatchers/ASTMatchFinder.h:211

Member Variables

public std::vector<std::pair<internal::DynTypedMatcher, MatchCallback*>> DeclOrStmt
public std::vector< std::pair<TypeMatcher, MatchCallback*>> Type
public std::vector<std::pair<NestedNameSpecifierMatcher, MatchCallback*>> NestedNameSpecifier
public std::vector< std::pair<NestedNameSpecifierLocMatcher, MatchCallback*>> NestedNameSpecifierLoc
public std::vector< std::pair<TypeLocMatcher, MatchCallback*>> TypeLoc
public std::vector<std::pair<CXXCtorInitializerMatcher, MatchCallback*>> CtorInit
public std::vector<std::pair<TemplateArgumentLocMatcher, MatchCallback*>> TemplateArgumentLoc
public std::vector< std::pair<AttrMatcher, MatchCallback*>> Attr
public llvm::SmallPtrSet<MatchCallback*, 16> AllCallbacks
All the callbacks in one container to simplify iteration.