clang 22.0.0git
Public Member Functions | Public Attributes | List of all members
clang::lifetimes::internal::AccessPath Struct Reference

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

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 34 of file LifetimeSafety.cpp.

Constructor & Destructor Documentation

◆ AccessPath()

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

Definition at line 37 of file LifetimeSafety.cpp.

Member Data Documentation

◆ D

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

Definition at line 35 of file LifetimeSafety.cpp.


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