clang 10.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"`

Collaboration diagram for clang::ast_matchers::MatchFinder::MatchersByType:
[legend]

## 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
llvm::SmallPtrSet< MatchCallback *, 16 > | AllCallbacks
| All the callbacks in one container to simplify iteration. More...

## Detailed Description

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

Definition at line 203 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 214 of file ASTMatchFinder.h.

Referenced by clang::ast_matchers::MatchFinder::addMatcher().

## ◆ CtorInit

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

Definition at line 212 of file ASTMatchFinder.h.

Referenced by clang::ast_matchers::MatchFinder::addMatcher().

## ◆ DeclOrStmt

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

Definition at line 205 of file ASTMatchFinder.h.

Referenced by clang::ast_matchers::MatchFinder::addMatcher().

## ◆ NestedNameSpecifier

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

Definition at line 208 of file ASTMatchFinder.h.

Referenced by clang::ast_matchers::MatchFinder::addMatcher().

## ◆ NestedNameSpecifierLoc

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

Definition at line 210 of file ASTMatchFinder.h.

Referenced by clang::ast_matchers::MatchFinder::addMatcher().

## ◆ Type

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

Definition at line 206 of file ASTMatchFinder.h.

Referenced by clang::ast_matchers::MatchFinder::addMatcher().

## ◆ TypeLoc

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

Definition at line 211 of file ASTMatchFinder.h.

Referenced by clang::ast_matchers::MatchFinder::addMatcher().

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

- include/clang/ASTMatchers/ASTMatchFinder.h