/external/clang/lib/AST/ |
D | TypePrinter.cpp | 1168 void TypePrinter::printAttributedBefore(const AttributedType *T, in printAttributedBefore() 1171 if (T->getAttrKind() == AttributedType::attr_objc_gc || in printAttributedBefore() 1172 T->getAttrKind() == AttributedType::attr_objc_ownership) in printAttributedBefore() 1175 if (T->getAttrKind() == AttributedType::attr_objc_kindof) in printAttributedBefore() 1183 case AttributedType::attr_ptr32: OS << " __ptr32"; break; in printAttributedBefore() 1184 case AttributedType::attr_ptr64: OS << " __ptr64"; break; in printAttributedBefore() 1185 case AttributedType::attr_sptr: OS << " __sptr"; break; in printAttributedBefore() 1186 case AttributedType::attr_uptr: OS << " __uptr"; break; in printAttributedBefore() 1192 if (T->getAttrKind() == AttributedType::attr_nonnull || in printAttributedBefore() 1193 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() 1586 AutoType *VisitAttributedType(const AttributedType *T) { in VisitAttributedType() 2968 bool AttributedType::isQualifier() const { in isQualifier() 2973 case AttributedType::attr_address_space: in isQualifier() 2974 case AttributedType::attr_objc_gc: in isQualifier() 2975 case AttributedType::attr_objc_ownership: in isQualifier() [all …]
|
D | TypeLoc.cpp | 362 if (attributedLoc.getAttrKind() == AttributedType::attr_nullable || in findNullabilityLoc() 363 attributedLoc.getAttrKind() == AttributedType::attr_nonnull || in findNullabilityLoc() 364 attributedLoc.getAttrKind() == AttributedType::attr_null_unspecified) in findNullabilityLoc()
|
D | ASTDiagnostic.cpp | 53 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) { in Desugar() 76 if (auto nullability = AttributedType::stripOuterNullability(SugarRT)) { in Desugar() 78 AttributedType::getNullabilityAttrKind(*nullability), RT, RT); in Desugar() 88 AttributedType::stripOuterNullability(SugarPT)) { in Desugar() 90 AttributedType::getNullabilityAttrKind(*nullability), PT, PT); in Desugar()
|
D | DeclPrinter.cpp | 1015 if (auto nullability = AttributedType::stripOuterNullability(T)) in PrintObjCMethodType() 1306 if (auto nullability = AttributedType::stripOuterNullability(T)) { in VisitObjCPropertyDecl()
|
D | ASTImporter.cpp | 71 QualType VisitAttributedType(const AttributedType *T); 691 cast<AttributedType>(T1)->getModifiedType(), in IsStructurallyEquivalent() 692 cast<AttributedType>(T2)->getModifiedType())) in IsStructurallyEquivalent() 695 cast<AttributedType>(T1)->getEquivalentType(), in IsStructurallyEquivalent() 696 cast<AttributedType>(T2)->getEquivalentType())) in IsStructurallyEquivalent() 1876 QualType ASTNodeImporter::VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
|
D | ASTContext.cpp | 1812 cast<AttributedType>(T)->getEquivalentType().getTypePtr()); in getTypeInfoImpl() 2272 if (auto *AT = dyn_cast<AttributedType>(Orig)) in getFunctionTypeWithExceptionSpec() 3259 QualType ASTContext::getAttributedType(AttributedType::Kind attrKind, in getAttributedType() 3263 AttributedType::Profile(id, attrKind, modifiedType, equivalentType); in getAttributedType() 3266 AttributedType *type = AttributedTypes.FindNodeOrInsertPos(id, insertPos); in getAttributedType() 3271 AttributedType(canon, attrKind, modifiedType, equivalentType); in getAttributedType()
|
D | ASTDumper.cpp | 365 void VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 3801 AttributedType::getNullabilityAttrKind(*inferNullability), T, T); in GetFullTypeForDeclarator() 4714 static AttributeList::Kind getAttrListKind(AttributedType::Kind kind) { in getAttrListKind() 4716 case AttributedType::attr_address_space: in getAttrListKind() 4718 case AttributedType::attr_regparm: in getAttrListKind() 4720 case AttributedType::attr_vector_size: in getAttrListKind() 4722 case AttributedType::attr_neon_vector_type: in getAttrListKind() 4724 case AttributedType::attr_neon_polyvector_type: in getAttrListKind() 4726 case AttributedType::attr_objc_gc: in getAttrListKind() 4728 case AttributedType::attr_objc_ownership: in getAttrListKind() 4729 case AttributedType::attr_objc_inert_unsafe_unretained: in getAttrListKind() [all …]
|
D | SemaExprObjC.cpp | 1253 if (auto nullability = AttributedType::stripOuterNullability(T)) { in stripObjCInstanceType() 1256 AttributedType::getNullabilityAttrKind(*nullability), in stripObjCInstanceType() 1293 (void)AttributedType::stripOuterNullability(type); in getBaseMessageSendResultType() 1297 AttributedType::getNullabilityAttrKind(*nullability), in getBaseMessageSendResultType() 1385 if (auto attributed = dyn_cast<AttributedType>(resultType.getTypePtr())) { in getMessageSendResultType() 1397 AttributedType::getNullabilityAttrKind(newNullability), in getMessageSendResultType() 4041 else if (const AttributedType *AT = dyn_cast<AttributedType>(DT)) in CheckObjCARCConversion()
|
D | SemaObjCProperty.cpp | 2217 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)) { in ProcessPropertyDecl() 2219 resultTy = Context.getAttributedType(AttributedType::attr_nonnull, in ProcessPropertyDecl() 2291 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)){ in ProcessPropertyDecl() 2293 paramTy = Context.getAttributedType(AttributedType::attr_nullable, in ProcessPropertyDecl()
|
D | SemaDeclObjC.cpp | 4230 AttributedType::getNullabilityAttrKind(*prevNullability), in mergeTypeNullabilityForRedecl() 4309 (void)AttributedType::stripOuterNullability(bareResultType); in ActOnMethodDeclaration()
|
D | SemaCodeComplete.cpp | 2146 if (auto nullability = AttributedType::stripOuterNullability(Type)) { in formatObjCParamQualifiers() 7105 AttributedType::stripOuterNullability(ResTy); in CodeCompleteObjCMethodDecl() 7140 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 | 136 llvm::FoldingSet<AttributedType> AttributedTypes; 1224 QualType getAttributedType(AttributedType::Kind attrKind,
|
D | Type.h | 1460 friend class AttributedType; 2022 template <> const AttributedType *Type::getAs() const; 3764 class AttributedType : public Type, public llvm::FoldingSetNode { 3819 AttributedType(QualType canon, Kind attrKind,
|
D | RecursiveASTVisitor.h | 1015 DEF_TRAVERSE_TYPE(AttributedType, 1241 DEF_TRAVERSE_TYPELOC(AttributedType,
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NullabilityChecker.cpp | 349 const auto *AttrType = Type->getAs<AttributedType>(); in getNullabilityAnnotation() 352 if (AttrType->getAttrKind() == AttributedType::attr_nullable) in getNullabilityAnnotation() 354 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 | 108 if (auto *ATT = T->getAs<AttributedType>()) { in MakeCXType()
|