clang: lib/Analysis/RetainSummaryManager.cpp File Reference (original) (raw)

Go to the source code of this file.

Functions
template
static constexpr bool isOneOf ()
template<class T , class P , class... ToCompare>
static constexpr bool isOneOf ()
Helper function to check whether the class is one of the rest of varargs.
static bool isSubclass (const Decl *D, StringRef ClassName)
static bool isExactClass (const Decl *D, StringRef ClassName)
static bool isOSObjectSubclass (const Decl *D)
static bool isOSObjectDynamicCast (StringRef S)
static bool isOSObjectRequiredCast (StringRef S)
static bool isOSObjectThisCast (StringRef S)
static bool isOSObjectPtr (QualType QT)
static bool isISLObjectRef (QualType Ty)
static bool isOSIteratorSubclass (const Decl *D)
static bool hasRCAnnotation (const Decl *D, StringRef rcAnnotation)
static bool isRetain (const FunctionDecl *FD, StringRef FName)
static bool isRelease (const FunctionDecl *FD, StringRef FName)
static bool isAutorelease (const FunctionDecl *FD, StringRef FName)
static bool isMakeCollectable (StringRef FName)
static bool isOSObjectRelated (const CXXMethodDecl *MD)
A function is OSObject related if it is declared on a subclass of OSObject, or any of the parameters is a subclass of an OSObject.
static ArgEffect getStopTrackingHardEquivalent (ArgEffect E)
static bool hasTypedefNamed (QualType QT, StringRef Name)
static QualType getCallableReturnType (const NamedDecl *ND)

getCallableReturnType()

getStopTrackingHardEquivalent()

Definition at line 562 of file RetainSummaryManager.cpp.

References clang::ento::Autorelease, clang::ento::Dealloc, clang::ento::DecRef, clang::ento::DecRefAndStopTrackingHard, clang::ento::DecRefBridgedTransferred, clang::ento::DoNothing, E, clang::ento::IncRef, clang::ento::MayEscape, clang::ento::RetainedOutParameter, clang::ento::RetainedOutParameterOnNonZero, clang::ento::RetainedOutParameterOnZero, clang::ento::StopTracking, clang::ento::StopTrackingHard, and clang::ento::UnretainedOutParameter.

hasRCAnnotation()

static bool hasRCAnnotation ( const Decl * D, StringRef rcAnnotation ) static

hasTypedefNamed()

static bool hasTypedefNamed ( QualType QT, StringRef Name ) static

isAutorelease()

isExactClass()

static bool isExactClass ( const Decl * D, StringRef ClassName ) static

isISLObjectRef()

isMakeCollectable()

static bool isMakeCollectable ( StringRef FName) static

isOneOf() [1/2]

template

static constexpr bool isOneOf ( ) staticconstexpr

isOneOf() [2/2]

template<class T , class P , class... ToCompare>

static constexpr bool isOneOf ( ) staticconstexpr

isOSIteratorSubclass()

static bool isOSIteratorSubclass ( const Decl * D) static

isOSObjectDynamicCast()

static bool isOSObjectDynamicCast ( StringRef S) static

isOSObjectPtr()

isOSObjectRelated()

isOSObjectRequiredCast()

static bool isOSObjectRequiredCast ( StringRef S) static

isOSObjectSubclass()

static bool isOSObjectSubclass ( const Decl * D) static

isOSObjectThisCast()

static bool isOSObjectThisCast ( StringRef S) static

isRelease()

isRetain()

isSubclass()

static bool isSubclass ( const Decl * D, StringRef ClassName ) static