clang 22.0.0git
|
#include "clang/AST/DeclCXX.h"
Go to the source code of this file.
Namespaces | |
namespace | clang |
namespace | clang ::lifetimes |
Functions | |
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. |