/external/clang/lib/AST/ |
D | TypePrinter.cpp | 1130 void TypePrinter::printAttributedBefore(const AttributedType *T, in printAttributedBefore() 1133 if (T->getAttrKind() == AttributedType::attr_objc_gc || in printAttributedBefore() 1134 T->getAttrKind() == AttributedType::attr_objc_ownership) in printAttributedBefore() 1137 if (T->getAttrKind() == AttributedType::attr_objc_kindof) in printAttributedBefore() 1145 case AttributedType::attr_ptr32: OS << " __ptr32"; break; in printAttributedBefore() 1146 case AttributedType::attr_ptr64: OS << " __ptr64"; break; in printAttributedBefore() 1147 case AttributedType::attr_sptr: OS << " __sptr"; break; in printAttributedBefore() 1148 case AttributedType::attr_uptr: OS << " __uptr"; break; in printAttributedBefore() 1154 if (T->getAttrKind() == AttributedType::attr_nonnull || in printAttributedBefore() 1155 T->getAttrKind() == AttributedType::attr_nullable || in printAttributedBefore() [all …]
|
D | Type.cpp | 334 template <> const AttributedType *Type::getAs() const { in getAs() 335 return getAsSugar<AttributedType>(this); in getAs() 522 if (auto attributed = dyn_cast<AttributedType>(cur)) { in isObjCInertUnsafeUnretainedType() 524 AttributedType::attr_objc_inert_unsafe_unretained) in isObjCInertUnsafeUnretainedType() 926 QualType VisitAttributedType(const AttributedType *T) { in TRIVIAL_TYPE_CLASS() 1580 AutoType *VisitAttributedType(const AttributedType *T) { in VisitAttributedType() 2969 bool AttributedType::isQualifier() const { in isQualifier() 2974 case AttributedType::attr_address_space: in isQualifier() 2975 case AttributedType::attr_objc_gc: in isQualifier() 2976 case AttributedType::attr_objc_ownership: in isQualifier() [all …]
|
D | TypeLoc.cpp | 370 if (attributedLoc.getAttrKind() == AttributedType::attr_nullable || in findNullabilityLoc() 371 attributedLoc.getAttrKind() == AttributedType::attr_nonnull || in findNullabilityLoc() 372 attributedLoc.getAttrKind() == AttributedType::attr_null_unspecified) in findNullabilityLoc()
|
D | ASTDiagnostic.cpp | 52 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) { in Desugar() 75 if (auto nullability = AttributedType::stripOuterNullability(SugarRT)) { in Desugar() 77 AttributedType::getNullabilityAttrKind(*nullability), RT, RT); in Desugar() 87 AttributedType::stripOuterNullability(SugarPT)) { in Desugar() 89 AttributedType::getNullabilityAttrKind(*nullability), PT, PT); in Desugar()
|
D | DeclPrinter.cpp | 997 if (auto nullability = AttributedType::stripOuterNullability(T)) in PrintObjCMethodType() 1288 if (auto nullability = AttributedType::stripOuterNullability(T)) { in VisitObjCPropertyDecl()
|
D | ASTImporter.cpp | 70 QualType VisitAttributedType(const AttributedType *T); 636 cast<AttributedType>(T1)->getModifiedType(), in IsStructurallyEquivalent() 637 cast<AttributedType>(T2)->getModifiedType())) in IsStructurallyEquivalent() 640 cast<AttributedType>(T1)->getEquivalentType(), in IsStructurallyEquivalent() 641 cast<AttributedType>(T2)->getEquivalentType())) in IsStructurallyEquivalent() 1771 QualType ASTNodeImporter::VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
|
D | ASTContext.cpp | 1821 cast<AttributedType>(T)->getEquivalentType().getTypePtr()); in getTypeInfoImpl() 2263 if (auto *AT = dyn_cast<AttributedType>(Orig)) in getFunctionTypeWithExceptionSpec() 3216 QualType ASTContext::getAttributedType(AttributedType::Kind attrKind, in getAttributedType() 3220 AttributedType::Profile(id, attrKind, modifiedType, equivalentType); in getAttributedType() 3223 AttributedType *type = AttributedTypes.FindNodeOrInsertPos(id, insertPos); in getAttributedType() 3228 AttributedType(canon, attrKind, modifiedType, equivalentType); in getAttributedType()
|
D | ASTDumper.cpp | 363 void VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 3560 AttributedType::getNullabilityAttrKind(*inferNullability), T, T); in GetFullTypeForDeclarator() 4431 static AttributeList::Kind getAttrListKind(AttributedType::Kind kind) { in getAttrListKind() 4433 case AttributedType::attr_address_space: in getAttrListKind() 4435 case AttributedType::attr_regparm: in getAttrListKind() 4437 case AttributedType::attr_vector_size: in getAttrListKind() 4439 case AttributedType::attr_neon_vector_type: in getAttrListKind() 4441 case AttributedType::attr_neon_polyvector_type: in getAttrListKind() 4443 case AttributedType::attr_objc_gc: in getAttrListKind() 4445 case AttributedType::attr_objc_ownership: in getAttrListKind() 4446 case AttributedType::attr_objc_inert_unsafe_unretained: in getAttrListKind() [all …]
|
D | SemaExprObjC.cpp | 1256 if (auto nullability = AttributedType::stripOuterNullability(T)) { in stripObjCInstanceType() 1259 AttributedType::getNullabilityAttrKind(*nullability), in stripObjCInstanceType() 1296 (void)AttributedType::stripOuterNullability(type); in getBaseMessageSendResultType() 1300 AttributedType::getNullabilityAttrKind(*nullability), in getBaseMessageSendResultType() 1388 if (auto attributed = dyn_cast<AttributedType>(resultType.getTypePtr())) { in getMessageSendResultType() 1400 AttributedType::getNullabilityAttrKind(newNullability), in getMessageSendResultType() 3997 else if (const AttributedType *AT = dyn_cast<AttributedType>(DT)) in CheckObjCARCConversion()
|
D | SemaObjCProperty.cpp | 2143 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)) { in ProcessPropertyDecl() 2145 resultTy = Context.getAttributedType(AttributedType::attr_nonnull, in ProcessPropertyDecl() 2213 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)){ in ProcessPropertyDecl() 2215 paramTy = Context.getAttributedType(AttributedType::attr_nullable, in ProcessPropertyDecl()
|
D | SemaDeclObjC.cpp | 4081 AttributedType::getNullabilityAttrKind(*prevNullability), in mergeTypeNullabilityForRedecl() 4160 (void)AttributedType::stripOuterNullability(bareResultType); in ActOnMethodDeclaration()
|
D | SemaCodeComplete.cpp | 2134 if (auto nullability = AttributedType::stripOuterNullability(Type)) { in formatObjCParamQualifiers() 7085 AttributedType::stripOuterNullability(ResTy); in CodeCompleteObjCMethodDecl() 7120 AttributedType::stripOuterNullability(ParamType); in CodeCompleteObjCMethodDecl()
|
/external/clang/lib/ARCMigrate/ |
D | Transforms.cpp | 366 if (const AttributedType *AttrT = T->getAs<AttributedType>()) { in isGCOwnedNonObjC() 367 if (AttrT->getAttrKind() == AttributedType::attr_objc_ownership) in isGCOwnedNonObjC()
|
D | TransBlockObjCVariable.cpp | 106 if (isa<AttributedType>(ty.getTypePtr())) in isImplicitStrong()
|
D | TransProperties.cpp | 322 if (isa<AttributedType>(I->IvarD->getType())) in hasIvarWithExplicitARCOwnership()
|
D | TransGCAttrs.cpp | 84 if (TL.getAttrKind() != AttributedType::attr_objc_ownership) in handleAttr()
|
/external/clang/include/clang/AST/ |
D | TypeLoc.h | 726 AttributedType, 729 AttributedType::Kind getAttrKind() const { in getAttrKind() 734 return (getAttrKind() >= AttributedType::FirstExprOperandKind && in hasAttrExprOperand() 735 getAttrKind() <= AttributedType::LastExprOperandKind); in hasAttrExprOperand() 739 return (getAttrKind() >= AttributedType::FirstEnumOperandKind && in hasAttrEnumOperand() 740 getAttrKind() <= AttributedType::LastEnumOperandKind); in hasAttrEnumOperand()
|
D | ASTContext.h | 132 llvm::FoldingSet<AttributedType> AttributedTypes; 1211 QualType getAttributedType(AttributedType::Kind attrKind,
|
D | Type.h | 1428 friend class AttributedType; 1993 template <> const AttributedType *Type::getAs() const; 3597 class AttributedType : public Type, public llvm::FoldingSetNode { 3649 AttributedType(QualType canon, Kind attrKind,
|
D | RecursiveASTVisitor.h | 942 DEF_TRAVERSE_TYPE(AttributedType, 1166 DEF_TRAVERSE_TYPELOC(AttributedType,
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NullabilityChecker.cpp | 320 const auto *AttrType = Type->getAs<AttributedType>(); in getNullabilityAnnotation() 323 if (AttrType->getAttrKind() == AttributedType::attr_nullable) in getNullabilityAnnotation() 325 else if (AttrType->getAttrKind() == AttributedType::attr_nonnull) in getNullabilityAnnotation()
|
/external/clang/lib/CodeGen/ |
D | CGValue.h | 134 AttributedType, enumerator
|
D | CodeGenFunction.cpp | 113 if (Source) *Source = AlignmentSource::AttributedType; in getNaturalTypeAlignment()
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 106 if (auto *ATT = T->getAs<AttributedType>()) { in MakeCXType()
|