|
clang 23.0.0git
|
Functions | |
| bool | isInStlNamespace (const Decl *D) |
| bool | isPointerLikeType (QualType QT) |
| 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. | |
| const LifetimeBoundAttr * | getDirectImplicitObjectLifetimeBoundAttr (const FunctionDecl *FD) |
| Returns the lifetimebound attribute for the implicit this parameter, if it exists on the current type. | |
| const LifetimeBoundAttr * | getImplicitObjectParamLifetimeBoundAttr (const FunctionDecl *FD) |
| Returns the lifetimebound attribute for the implicit this parameter, if it exists on any redeclaration. | |
| 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. | |
| bool | shouldTrackImplicitObjectArg (const Expr &ImplicitObjectArgument, const CXXMethodDecl *Callee, bool RunningUnderLifetimeSafety) |
| bool | shouldTrackFirstArgument (const FunctionDecl *FD) |
| bool | shouldTrackSecondArgument (const FunctionDecl *FD) |
| bool | isGslPointerType (QualType QT) |
| bool | isGslOwnerType (QualType QT) |
| bool | isGslOwnerType (const CXXRecordDecl *RD) |
| bool | isUniquePtrRelease (const CXXMethodDecl &MD) |
| bool | isInvalidationMethod (const CXXMethodDecl &MD) |
| bool | destructsFirstArg (const FunctionDecl &FD) |
| bool | isStdCallableWrapperType (const CXXRecordDecl *RD) |
| Returns true for standard library callable wrappers (e.g., std::function) that can propagate the stored lambda's origins. | |
| bool | isStdReferenceCast (const FunctionDecl *FD) |
| Returns true for std reference-cast builtins (e.g., std::move). | |
| bool clang ::lifetimes::destructsFirstArg | ( | const FunctionDecl & | FD | ) |
References destructsFirstArg().
Referenced by destructsFirstArg().
| 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().
| const LifetimeBoundAttr * clang ::lifetimes::getDirectImplicitObjectLifetimeBoundAttr | ( | const FunctionDecl * | FD | ) |
Returns the lifetimebound attribute for the implicit this parameter, if it exists on the current type.
References getDirectImplicitObjectLifetimeBoundAttr().
Referenced by getDirectImplicitObjectLifetimeBoundAttr().
| const LifetimeBoundAttr * clang ::lifetimes::getImplicitObjectParamLifetimeBoundAttr | ( | const FunctionDecl * | FD | ) |
Returns the lifetimebound attribute for the implicit this parameter, if it exists on any redeclaration.
References getImplicitObjectParamLifetimeBoundAttr().
Referenced by getImplicitObjectParamLifetimeBoundAttr().
| 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::isGslOwnerType | ( | const CXXRecordDecl * | RD | ) |
| bool clang ::lifetimes::isGslOwnerType | ( | QualType | QT | ) |
| bool clang ::lifetimes::isGslPointerType | ( | QualType | QT | ) |
| bool clang ::lifetimes::isInStlNamespace | ( | const Decl * | D | ) |
References isInStlNamespace().
Referenced by isInStlNamespace().
| bool clang ::lifetimes::isInvalidationMethod | ( | const CXXMethodDecl & | MD | ) |
References isInvalidationMethod().
Referenced by isInvalidationMethod().
| bool clang ::lifetimes::isNormalAssignmentOperator | ( | const FunctionDecl * | FD | ) |
References isNormalAssignmentOperator().
Referenced by isNormalAssignmentOperator().
| bool clang ::lifetimes::isPointerLikeType | ( | QualType | QT | ) |
References isPointerLikeType().
Referenced by isPointerLikeType().
| bool clang ::lifetimes::isStdCallableWrapperType | ( | const CXXRecordDecl * | RD | ) |
Returns true for standard library callable wrappers (e.g., std::function) that can propagate the stored lambda's origins.
References isStdCallableWrapperType().
Referenced by isStdCallableWrapperType().
| bool clang ::lifetimes::isStdReferenceCast | ( | const FunctionDecl * | FD | ) |
Returns true for std reference-cast builtins (e.g., std::move).
Their result refers to the same object as the argument, so all origins propagate from argument to result.
References isStdReferenceCast().
Referenced by isStdReferenceCast().
| bool clang ::lifetimes::isUniquePtrRelease | ( | const CXXMethodDecl & | MD | ) |
References isUniquePtrRelease().
Referenced by isUniquePtrRelease().
| bool clang ::lifetimes::shouldTrackFirstArgument | ( | const FunctionDecl * | FD | ) |
References shouldTrackFirstArgument().
Referenced by shouldTrackFirstArgument().
| bool clang ::lifetimes::shouldTrackImplicitObjectArg | ( | const Expr & | ImplicitObjectArgument, |
| const CXXMethodDecl * | Callee, | ||
| bool | RunningUnderLifetimeSafety ) |
References shouldTrackImplicitObjectArg().
Referenced by shouldTrackImplicitObjectArg().
| bool clang ::lifetimes::shouldTrackSecondArgument | ( | const FunctionDecl * | FD | ) |
References shouldTrackSecondArgument().
Referenced by shouldTrackSecondArgument().