clang 20.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 <type_traits>
#include <utility>
#include <vector>

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...
 
struct  clang::dataflow::TransferStateForDiagnostics< LatticeT >
 A read-only version of TransferState. More...
 
class  clang::dataflow::ASTMatchSwitchBuilder< BaseT, 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 node whose type derives from BaseT. More...
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::dataflow
 Dataflow Directional Tag Classes.
 

Typedefs

template<typename T >
using clang::dataflow::MatchSwitchMatcher = ast_matchers::internal::Matcher< T >
 
template<typename T , typename State , typename Result = void>
using clang::dataflow::MatchSwitchAction = std::function< Result(const T *, const ast_matchers::MatchFinder::MatchResult &, State &)>
 
template<typename BaseT , typename State , typename Result = void>
using clang::dataflow::ASTMatchSwitch = std::function< Result(const BaseT &, ASTContext &, State &)>