clang 22.0.0git
clang::lifetimes::internal::AccessPath Struct Reference

Represents the storage location being borrowed, e.g., a specific stack variable. More...

#include "clang/Analysis/Analyses/LifetimeSafety/Loans.h"

Public Member Functions

 AccessPath (const clang::ValueDecl *D)

Public Attributes

const clang::ValueDeclD

Detailed Description

Represents the storage location being borrowed, e.g., a specific stack variable.

TODO: Model access paths of other types, e.g., s.field, heap and globals.

Definition at line 31 of file Loans.h.

Constructor & Destructor Documentation

◆ AccessPath()

clang::lifetimes::internal::AccessPath::AccessPath ( const clang::ValueDecl * D)
inline

Definition at line 34 of file Loans.h.

References D.

Member Data Documentation

◆ D

const clang::ValueDecl* clang::lifetimes::internal::AccessPath::D

Definition at line 32 of file Loans.h.

Referenced by AccessPath().


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