clang 22.0.0git
clang::LiveVariables::LivenessValues Class Reference

#include "clang/Analysis/Analyses/LiveVariables.h"

Public Member Functions

bool operator== (const LivenessValues &V) const
 LivenessValues ()
 LivenessValues (llvm::ImmutableSet< const Expr * > liveExprs, llvm::ImmutableSet< const VarDecl * > LiveDecls, llvm::ImmutableSet< const BindingDecl * > LiveBindings)
bool isLive (const Expr *E) const
bool isLive (const VarDecl *D) const

Public Attributes

llvm::ImmutableSet< const Expr * > liveExprs
llvm::ImmutableSet< const VarDecl * > liveDecls
llvm::ImmutableSet< const BindingDecl * > liveBindings

Friends

class LiveVariables

Detailed Description

Definition at line 30 of file LiveVariables.h.

Constructor & Destructor Documentation

◆ LivenessValues() [1/2]

clang::LiveVariables::LivenessValues::LivenessValues ( )
inline

Definition at line 39 of file LiveVariables.h.

References liveBindings, liveDecls, liveExprs, and clang::nullptr.

Referenced by operator==().

◆ LivenessValues() [2/2]

clang::LiveVariables::LivenessValues::LivenessValues ( llvm::ImmutableSet< const Expr * > liveExprs,
llvm::ImmutableSet< const VarDecl * > LiveDecls,
llvm::ImmutableSet< const BindingDecl * > LiveBindings )
inline

Definition at line 42 of file LiveVariables.h.

References liveBindings, liveDecls, and liveExprs.

Member Function Documentation

◆ isLive() [1/2]

bool LiveVariables::LivenessValues::isLive ( const Expr * E) const

Definition at line 69 of file LiveVariables.cpp.

References liveExprs.

◆ isLive() [2/2]

bool LiveVariables::LivenessValues::isLive ( const VarDecl * D) const

Definition at line 73 of file LiveVariables.cpp.

References liveBindings, and liveDecls.

◆ operator==()

bool LiveVariables::LivenessValues::operator== ( const LivenessValues & V) const

Definition at line 133 of file LiveVariables.cpp.

References liveBindings, liveDecls, liveExprs, LivenessValues(), and V.

◆ LiveVariables

friend class LiveVariables
friend

Definition at line 51 of file LiveVariables.h.

References LiveVariables.

Referenced by LiveVariables.

Member Data Documentation

◆ liveBindings

llvm::ImmutableSet<const BindingDecl *> clang::LiveVariables::LivenessValues::liveBindings

Definition at line 35 of file LiveVariables.h.

Referenced by isLive(), LivenessValues(), LivenessValues(), and operator==().

◆ liveDecls

llvm::ImmutableSet<const VarDecl *> clang::LiveVariables::LivenessValues::liveDecls

Definition at line 34 of file LiveVariables.h.

Referenced by isLive(), LivenessValues(), LivenessValues(), and operator==().

◆ liveExprs

llvm::ImmutableSet<const Expr *> clang::LiveVariables::LivenessValues::liveExprs

Definition at line 33 of file LiveVariables.h.

Referenced by isLive(), LivenessValues(), LivenessValues(), and operator==().


The documentation for this class was generated from the following files: