10#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_LIFETIMEANNOTATIONS_H
11#define LLVM_CLANG_ANALYSIS_ANALYSES_LIFETIMEANNOTATIONS_H
55 bool RunningUnderLifetimeSafety);
Defines the C++ Decl subclasses, other than those for templates (found in DeclTemplate....
bool isAssignmentOperatorLifetimeBound(const CXXMethodDecl *CMD)
Returns true if this is an assignment operator where the parameter has the lifetimebound attribute.
bool isPointerLikeType(QualType QT)
bool implicitObjectParamIsLifetimeBound(const FunctionDecl *FD)
Returns true if the implicit object parameter (this) should be considered lifetimebound,...
bool shouldTrackFirstArgument(const FunctionDecl *FD)
const FunctionDecl * getDeclWithMergedLifetimeBoundAttrs(const FunctionDecl *FD)
Returns the most recent declaration of the method to ensure all lifetime-bound attributes from redecl...
bool isNormalAssignmentOperator(const FunctionDecl *FD)
bool isInStlNamespace(const Decl *D)
bool shouldTrackImplicitObjectArg(const CXXMethodDecl *Callee, bool RunningUnderLifetimeSafety)
bool isGslPointerType(QualType QT)
bool isGslOwnerType(QualType QT)
The JSON file list parser is used to communicate input to InstallAPI.