clang 22.0.0git
clang::dataflow::ReferencedDecls Struct Reference

A collection of several types of declarations, all referenced from the same function. More...

#include "clang/Analysis/FlowSensitive/ASTOps.h"

Public Attributes

FieldSet Fields
 Non-static member variables.
llvm::DenseSet< const VarDecl * > Globals
 All variables with static storage duration, notably including static member variables and static variables declared within a function.
llvm::DenseSet< const VarDecl * > Locals
 Local variables, not including parameters or static variables declared within a function.
llvm::DenseSet< const FunctionDecl * > Functions
 Free functions and member functions which are referenced (but not necessarily called).
llvm::DenseSet< const ParmVarDecl * > LambdaCapturedParams
 When analyzing a lambda's call operator, the set of all parameters (from the surrounding function) that the lambda captures.

Detailed Description

A collection of several types of declarations, all referenced from the same function.

Definition at line 143 of file ASTOps.h.

Member Data Documentation

◆ Fields

FieldSet clang::dataflow::ReferencedDecls::Fields

Non-static member variables.

Definition at line 145 of file ASTOps.h.

◆ Functions

llvm::DenseSet<const FunctionDecl *> clang::dataflow::ReferencedDecls::Functions

Free functions and member functions which are referenced (but not necessarily called).

Definition at line 154 of file ASTOps.h.

◆ Globals

llvm::DenseSet<const VarDecl *> clang::dataflow::ReferencedDecls::Globals

All variables with static storage duration, notably including static member variables and static variables declared within a function.

Definition at line 148 of file ASTOps.h.

◆ LambdaCapturedParams

llvm::DenseSet<const ParmVarDecl *> clang::dataflow::ReferencedDecls::LambdaCapturedParams

When analyzing a lambda's call operator, the set of all parameters (from the surrounding function) that the lambda captures.

Captured local variables are already included in Locals above.

Definition at line 158 of file ASTOps.h.

◆ Locals

llvm::DenseSet<const VarDecl *> clang::dataflow::ReferencedDecls::Locals

Local variables, not including parameters or static variables declared within a function.

Definition at line 151 of file ASTOps.h.


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