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 560 of file RetainSummaryManager.cpp.
References clang::ento::Autorelease, clang::ento::Dealloc, clang::ento::DecRef, clang::ento::DecRefAndStopTrackingHard, clang::ento::DecRefBridgedTransferred, clang::ento::DoNothing, clang::ento::ArgEffect::getKind(), clang::ento::IncRef, clang::ento::MayEscape, clang::ento::RetainedOutParameter, clang::ento::RetainedOutParameterOnNonZero, clang::ento::RetainedOutParameterOnZero, clang::ento::StopTracking, clang::ento::StopTrackingHard, clang::ento::UnretainedOutParameter, and clang::ento::ArgEffect::withKind().
◆ hasRCAnnotation()
| bool hasRCAnnotation ( const Decl * D, StringRef rcAnnotation ) |
static |
◆ hasTypedefNamed()
◆ isAutorelease()
◆ isExactClass()
| bool isExactClass ( const Decl * D, StringRef ClassName ) |
static |
◆ isISLObjectRef()
◆ isMakeCollectable()
| bool isMakeCollectable ( StringRef FName) |
static |
◆ isOneOf() [1/2]
template
| constexpr bool isOneOf ( ) |
staticconstexpr |
◆ isOneOf() [2/2]
template<class T, class P, class... ToCompare>
| constexpr bool isOneOf ( ) |
staticconstexpr |
◆ isOSIteratorSubclass()
| bool isOSIteratorSubclass ( const Decl * D) |
static |
◆ isOSObjectDynamicCast()
| bool isOSObjectDynamicCast ( StringRef S) |
static |
◆ isOSObjectPtr()
◆ isOSObjectRequiredCast()
| bool isOSObjectRequiredCast ( StringRef S) |
static |
◆ isOSObjectSubclass()
| bool isOSObjectSubclass ( const Decl * D) |
static |
◆ isOSObjectThisCast()
| bool isOSObjectThisCast ( StringRef S) |
static |
◆ isRelease()
◆ isRetain()
◆ isSubclass()
| bool isSubclass ( const Decl * D, StringRef ClassName ) |
static |