clang 20.0.0git
Public Attributes | List of all members
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).
 

Detailed Description

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

Definition at line 136 of file ASTOps.h.

Member Data Documentation

◆ Fields

FieldSet clang::dataflow::ReferencedDecls::Fields

◆ Functions

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

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

Definition at line 147 of file ASTOps.h.

Referenced by clang::dataflow::ReferencedDeclsVisitor::VisitDecl(), clang::dataflow::ReferencedDeclsVisitor::VisitDeclRefExpr(), and clang::dataflow::ReferencedDeclsVisitor::VisitMemberExpr().

◆ 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 141 of file ASTOps.h.

Referenced by clang::dataflow::ReferencedDeclsVisitor::VisitDecl(), clang::dataflow::ReferencedDeclsVisitor::VisitDeclRefExpr(), and clang::dataflow::ReferencedDeclsVisitor::VisitMemberExpr().

◆ Locals

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

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

Definition at line 144 of file ASTOps.h.

Referenced by clang::dataflow::ReferencedDeclsVisitor::VisitDecl(), and clang::dataflow::ReferencedDeclsVisitor::VisitDeclRefExpr().


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