clang 23.0.0git
LifetimeAnnotations.cpp File Reference
#include "clang/Analysis/Analyses/LifetimeSafety/LifetimeAnnotations.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Attr.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/Type.h"
#include "clang/AST/TypeLoc.h"
#include "llvm/ADT/StringSet.h"

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
namespace  clang::lifetimes

Functions

const FunctionDeclclang::lifetimes::getDeclWithMergedLifetimeBoundAttrs (const FunctionDecl *FD)
const CXXMethodDeclclang::lifetimes::getDeclWithMergedLifetimeBoundAttrs (const CXXMethodDecl *CMD)
bool clang::lifetimes::isNormalAssignmentOperator (const FunctionDecl *FD)
bool clang::lifetimes::isAssignmentOperatorLifetimeBound (const CXXMethodDecl *CMD)
static const LifetimeBoundAttr * clang::lifetimes::getLifetimeBoundAttrFromFunctionType (const TypeSourceInfo &TSI)
 Check if a function has a lifetimebound attribute on its function type (which represents the implicit 'this' parameter for methods).
bool clang::lifetimes::implicitObjectParamIsLifetimeBound (const FunctionDecl *FD)
bool clang::lifetimes::isInStlNamespace (const Decl *D)
bool clang::lifetimes::isPointerLikeType (QualType QT)
static bool clang::lifetimes::isReferenceOrPointerLikeType (QualType QT)
bool clang::lifetimes::shouldTrackImplicitObjectArg (const CXXMethodDecl *Callee, bool RunningUnderLifetimeSafety)
bool clang::lifetimes::shouldTrackFirstArgument (const FunctionDecl *FD)
template<typename T>
static bool clang::lifetimes::isRecordWithAttr (QualType Type)
bool clang::lifetimes::isGslPointerType (QualType QT)
bool clang::lifetimes::isGslOwnerType (QualType QT)