clang API Documentation
Functions | |
bool | isRefType (QualType RetTy, StringRef Prefix, StringRef Name=StringRef()) |
bool | isCocoaObjectRef (QualType T) |
Definition at line 59 of file CocoaConventions.cpp.
References clang::Type::getAs(), clang::NamedDecl::getIdentifier(), clang::ObjCObjectPointerType::getInterfaceDecl(), clang::IdentifierInfo::getName(), clang::ObjCInterfaceDecl::getSuperClass(), clang::ObjCInterfaceDecl::hasDefinition(), clang::ObjCObjectPointerType::isObjCClassType(), clang::ObjCObjectPointerType::isObjCIdType(), clang::Type::isObjCObjectPointerType(), clang::ObjCObjectPointerType::isObjCQualifiedClassType(), and clang::ObjCObjectPointerType::isObjCQualifiedIdType().
bool clang::ento::cocoa::isRefType | ( | QualType | RetTy, |
StringRef | Prefix, | ||
StringRef | Name = StringRef() |
||
) |
Definition at line 25 of file CocoaConventions.cpp.
References clang::Type::getAs(), clang::PointerType::getPointeeType(), clang::QualType::getTypePtr(), clang::QualType::getUnqualifiedType(), and clang::Type::isVoidType().
Referenced by clang::ento::coreFoundation::isCFObjectRef(), and clang::arcmt::trans::isPlusOne().