clang 22.0.0git
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.

References D.

Member Data Documentation

◆ D

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

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