clang  15.0.0git
Classes | Namespaces | Typedefs
MatchSwitch.h File Reference
#include "clang/AST/ASTContext.h"
#include "clang/AST/Stmt.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Analysis/FlowSensitive/DataflowEnvironment.h"
#include "llvm/ADT/StringRef.h"
#include <functional>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for MatchSwitch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  clang::dataflow::TransferState< LatticeT >
 A common form of state shared between the cases of a transfer function. More...
 
class  clang::dataflow::MatchSwitchBuilder< State, Result >
 Collects cases of a "match switch": a collection of matchers paired with callbacks, which together define a switch that can be applied to a Stmt. More...
 

Namespaces

 clang
 
 clang::dataflow
 Dataflow Directional Tag Classes.
 

Typedefs

template<typename State , typename Result = void>
using clang::dataflow::MatchSwitch = std::function< Result(const Stmt &, ASTContext &, State &)>
 Matches against Stmt and, based on its structure, dispatches to an appropriate handler. More...