clang 22.0.0git
|
An inter-procedural analysis facility that detects CF types with the underlying pointer type. More...
Public Member Functions | |
void | visitTranslationUnitDecl (const TranslationUnitDecl *) |
void | visitTypedef (const TypedefDecl *) |
bool | isUnretained (const QualType, bool ignoreARC=false) |
bool | isARCEnabled () const |
bool | defaultSynthProperties () const |
An inter-procedural analysis facility that detects CF types with the underlying pointer type.
Definition at line 76 of file PtrTypesSemantics.h.
|
inline |
Definition at line 87 of file PtrTypesSemantics.h.
|
inline |
Definition at line 86 of file PtrTypesSemantics.h.
Definition at line 267 of file PtrTypesSemantics.cpp.
References clang::QualType::getCanonicalType(), clang::Type::getPointeeType(), clang::QualType::getTypePtr(), clang::QualType::getTypePtrOrNull(), and clang::ento::cocoa::isCocoaObjectRef().
void clang::RetainTypeChecker::visitTranslationUnitDecl | ( | const TranslationUnitDecl * | TUD | ) |
Definition at line 235 of file PtrTypesSemantics.cpp.
References clang::Decl::getLangOpts().
void clang::RetainTypeChecker::visitTypedef | ( | const TypedefDecl * | TD | ) |
Definition at line 241 of file PtrTypesSemantics.cpp.
References clang::Type::getAsCanonical(), clang::Decl::getASTContext(), clang::Type::getPointeeType(), clang::ASTContext::getTypedefType(), clang::QualType::getTypePtr(), clang::TypedefNameDecl::getUnderlyingType(), clang::Decl::hasAttr(), and clang::None.