clang
19.0.0git
|
Collects cases of a "match switch": a collection of matchers paired with callbacks, which together define a switch that can be applied to an AST node contained in a CFG element. More...
#include "clang/Analysis/FlowSensitive/CFGMatchSwitch.h"
Public Member Functions | |
template<typename NodeT > | |
CFGMatchSwitchBuilder && | CaseOfCFGStmt (MatchSwitchMatcher< Stmt > M, MatchSwitchAction< NodeT, State, Result > A) && |
Registers an action A for CFGStmt s that will be triggered by the match of the pattern M against the Stmt contained in the input CFGStmt . More... | |
template<typename NodeT > | |
CFGMatchSwitchBuilder && | CaseOfCFGInit (MatchSwitchMatcher< CXXCtorInitializer > M, MatchSwitchAction< NodeT, State, Result > A) && |
Registers an action A for CFGInitializer s that will be triggered by the match of the pattern M against the CXXCtorInitializer contained in the input CFGInitializer . More... | |
CFGMatchSwitch< State, Result > | Build () && |
Collects cases of a "match switch": a collection of matchers paired with callbacks, which together define a switch that can be applied to an AST node contained in a CFG element.
Definition at line 39 of file CFGMatchSwitch.h.
|
inline |
Definition at line 70 of file CFGMatchSwitch.h.
|
inline |
Registers an action A
for CFGInitializer
s that will be triggered by the match of the pattern M
against the CXXCtorInitializer
contained in the input CFGInitializer
.
Requirements:
NodeT
should be derived from CXXCtorInitializer
.
Definition at line 64 of file CFGMatchSwitch.h.
|
inline |