clang 19.0.0git
Public Attributes | List of all members
clang::ast_matchers::MatchFinder::MatchersByType Struct Reference

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

#include "clang/ASTMatchers/ASTMatchFinder.h"

Public Attributes

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

Detailed Description

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

Definition at line 212 of file ASTMatchFinder.h.

Member Data Documentation

◆ AllCallbacks

llvm::SmallPtrSet<MatchCallback *, 16> clang::ast_matchers::MatchFinder::MatchersByType::AllCallbacks

All the callbacks in one container to simplify iteration.

Definition at line 226 of file ASTMatchFinder.h.

◆ Attr

std::vector<std::pair<AttrMatcher, MatchCallback *> > clang::ast_matchers::MatchFinder::MatchersByType::Attr

Definition at line 224 of file ASTMatchFinder.h.

◆ CtorInit

std::vector<std::pair<CXXCtorInitializerMatcher, MatchCallback *> > clang::ast_matchers::MatchFinder::MatchersByType::CtorInit

Definition at line 221 of file ASTMatchFinder.h.

◆ DeclOrStmt

std::vector<std::pair<internal::DynTypedMatcher, MatchCallback *> > clang::ast_matchers::MatchFinder::MatchersByType::DeclOrStmt

Definition at line 214 of file ASTMatchFinder.h.

◆ NestedNameSpecifier

std::vector<std::pair<NestedNameSpecifierMatcher, MatchCallback *> > clang::ast_matchers::MatchFinder::MatchersByType::NestedNameSpecifier

Definition at line 217 of file ASTMatchFinder.h.

◆ NestedNameSpecifierLoc

std::vector<std::pair<NestedNameSpecifierLocMatcher, MatchCallback *> > clang::ast_matchers::MatchFinder::MatchersByType::NestedNameSpecifierLoc

Definition at line 219 of file ASTMatchFinder.h.

◆ TemplateArgumentLoc

std::vector<std::pair<TemplateArgumentLocMatcher, MatchCallback *> > clang::ast_matchers::MatchFinder::MatchersByType::TemplateArgumentLoc

Definition at line 223 of file ASTMatchFinder.h.

◆ Type

std::vector<std::pair<TypeMatcher, MatchCallback *> > clang::ast_matchers::MatchFinder::MatchersByType::Type

Definition at line 215 of file ASTMatchFinder.h.

◆ TypeLoc

std::vector<std::pair<TypeLocMatcher, MatchCallback *> > clang::ast_matchers::MatchFinder::MatchersByType::TypeLoc

Definition at line 220 of file ASTMatchFinder.h.


The documentation for this struct was generated from the following file: