clang 22.0.0git
|
Functions | |
const FunctionDecl * | getDeclWithMergedLifetimeBoundAttrs (const FunctionDecl *FD) |
Returns the most recent declaration of the method to ensure all lifetime-bound attributes from redeclarations are considered. | |
const CXXMethodDecl * | getDeclWithMergedLifetimeBoundAttrs (const CXXMethodDecl *CMD) |
Returns the most recent declaration of the method to ensure all lifetime-bound attributes from redeclarations are considered. | |
bool | isNormalAssignmentOperator (const FunctionDecl *FD) |
bool | isAssignmentOperatorLifetimeBound (const CXXMethodDecl *CMD) |
Returns true if this is an assignment operator where the parameter has the lifetimebound attribute. | |
bool | implicitObjectParamIsLifetimeBound (const FunctionDecl *FD) |
Returns true if the implicit object parameter (this) should be considered lifetimebound, either due to an explicit lifetimebound attribute on the method or because it's a normal assignment operator. |
const CXXMethodDecl * clang ::lifetimes::getDeclWithMergedLifetimeBoundAttrs | ( | const CXXMethodDecl * | CMD | ) |
Returns the most recent declaration of the method to ensure all lifetime-bound attributes from redeclarations are considered.
References getDeclWithMergedLifetimeBoundAttrs().
const FunctionDecl * clang ::lifetimes::getDeclWithMergedLifetimeBoundAttrs | ( | const FunctionDecl * | FD | ) |
Returns the most recent declaration of the method to ensure all lifetime-bound attributes from redeclarations are considered.
References getDeclWithMergedLifetimeBoundAttrs().
Referenced by getDeclWithMergedLifetimeBoundAttrs(), and getDeclWithMergedLifetimeBoundAttrs().
bool clang ::lifetimes::implicitObjectParamIsLifetimeBound | ( | const FunctionDecl * | FD | ) |
Returns true if the implicit object parameter (this) should be considered lifetimebound, either due to an explicit lifetimebound attribute on the method or because it's a normal assignment operator.
References implicitObjectParamIsLifetimeBound().
Referenced by implicitObjectParamIsLifetimeBound().
bool clang ::lifetimes::isAssignmentOperatorLifetimeBound | ( | const CXXMethodDecl * | CMD | ) |
Returns true if this is an assignment operator where the parameter has the lifetimebound attribute.
References isAssignmentOperatorLifetimeBound().
Referenced by isAssignmentOperatorLifetimeBound().
bool clang ::lifetimes::isNormalAssignmentOperator | ( | const FunctionDecl * | FD | ) |
References isNormalAssignmentOperator().
Referenced by isNormalAssignmentOperator().