clang 22.0.0git
LifetimeAnnotations.h File Reference

Go to the source code of this file.

Namespaces

namespace  clang
namespace  clang ::lifetimes

Functions

bool clang ::lifetimes::isInStlNamespace (const Decl *D)
bool clang ::lifetimes::isPointerLikeType (QualType QT)
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.
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.
bool clang ::lifetimes::isNormalAssignmentOperator (const FunctionDecl *FD)
bool clang ::lifetimes::isAssignmentOperatorLifetimeBound (const CXXMethodDecl *CMD)
 Returns true if this is an assignment operator where the parameter has the lifetimebound attribute.
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.
bool clang ::lifetimes::shouldTrackImplicitObjectArg (const CXXMethodDecl *Callee)
bool clang ::lifetimes::shouldTrackFirstArgument (const FunctionDecl *FD)
bool clang ::lifetimes::isGslPointerType (QualType QT)
bool clang ::lifetimes::isGslOwnerType (QualType QT)