| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | TransBlockObjCVariable.cpp | 105 if (isa<AttributedType>(ty.getTypePtr())) in isImplicitStrong()
|
| H A D | Transforms.cpp | 360 if (const AttributedType *AttrT = T->getAs<AttributedType>()) { in isGCOwnedNonObjC()
|
| H A D | TransProperties.cpp | 323 if (isa<AttributedType>(I->IvarD->getType())) in hasIvarWithExplicitARCOwnership()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NonnullGlobalConstantsChecker.cpp | 119 } else if (const auto *AT = dyn_cast<AttributedType>(T)) { in isGlobalConstString()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Type.cpp | 532 template <> const AttributedType *Type::getAs() const { in getAs() 533 return getAsSugar<AttributedType>(this); in getAs() 1141 QualType VisitAttributedType(const AttributedType *T) { in SUGARED_TYPE_CLASS() 1778 while (const auto *AT = Cur->getAs<AttributedType>()) { in hasAttr() 1869 Type *VisitAttributedType(const AttributedType *T) { in VisitAttributedType() 3580 bool AttributedType::isQualifier() const { in isQualifier() 3604 bool AttributedType::isMSTypeSpec() const { in isMSTypeSpec() 3617 bool AttributedType::isCallingConv() const { in isCallingConv() 4097 while (const auto *AT = Type->getAs<AttributedType>()) { in getNullability() 4237 AttributedType::getImmediateNullability() const { in getImmediateNullability() [all …]
|
| H A D | ASTDiagnostic.cpp | 63 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) { in desugarForDiagnostic() 86 if (auto nullability = AttributedType::stripOuterNullability(SugarRT)) { in desugarForDiagnostic() 88 AttributedType::getNullabilityAttrKind(*nullability), RT, RT); in desugarForDiagnostic() 98 AttributedType::stripOuterNullability(SugarPT)) { in desugarForDiagnostic() 100 AttributedType::getNullabilityAttrKind(*nullability), PT, PT); in desugarForDiagnostic()
|
| H A D | ASTStructuralEquivalence.cpp | 927 cast<AttributedType>(T1)->getModifiedType(), in IsStructurallyEquivalent() 928 cast<AttributedType>(T2)->getModifiedType())) in IsStructurallyEquivalent() 931 Context, cast<AttributedType>(T1)->getEquivalentType(), in IsStructurallyEquivalent() 932 cast<AttributedType>(T2)->getEquivalentType())) in IsStructurallyEquivalent()
|
| H A D | TypePrinter.cpp | 299 const auto *AttrTy = cast<AttributedType>(UnderlyingType); in canPrefixQualifiers() 1623 void TypePrinter::printAttributedBefore(const AttributedType *T, in printAttributedBefore() 1667 void TypePrinter::printAttributedAfter(const AttributedType *T, in printAttributedAfter()
|
| H A D | DeclPrinter.cpp | 1245 if (auto nullability = AttributedType::stripOuterNullability(T)) in PrintObjCMethodType() 1569 if (auto nullability = AttributedType::stripOuterNullability(T)) { in VisitObjCPropertyDecl()
|
| H A D | ODRHash.cpp | 821 void VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
|
| H A D | ASTContext.cpp | 2391 cast<AttributedType>(T)->getEquivalentType().getTypePtr()); in getTypeInfoImpl() 3182 if (const auto *AT = dyn_cast<AttributedType>(Orig)) in getFunctionTypeWithExceptionSpec() 4708 AttributedType::Profile(id, attrKind, modifiedType, equivalentType); in getAttributedType() 4711 AttributedType *type = AttributedTypes.FindNodeOrInsertPos(id, insertPos); in getAttributedType() 4716 AttributedType(canon, attrKind, modifiedType, equivalentType); in getAttributedType() 6869 AttributedType::getNullabilityAttrKind(*Nullability), Result, Result); in getArrayDecayedType() 9398 if (const AttributedType *Attr = dyn_cast<AttributedType>(Ty)) { in hasDirectOwnershipQualifier()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerHelpers.cpp | 103 const auto *AttrType = Type->getAs<AttributedType>(); in getNullabilityAnnotation()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | MemberwiseConstructor.cpp | 156 FieldAction VisitAttributedType(const AttributedType *T) { in considerField()
|
| H A D | ObjCMemberwiseInitializer.cpp | 47 if (auto Kind = AttributedType::stripOuterNullability(T)) { in getTypeStr()
|
| H A D | ExtractVariable.cpp | 125 AttributedType::stripOuterNullability(VarType); in ExtractionContext()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 544 AttributedType::getNullabilityAttrKind( in BuildObjCBoxedExpr() 598 AttributedType::getNullabilityAttrKind(*Nullability), BoxedType, in BuildObjCBoxedExpr() 1432 if (auto nullability = AttributedType::stripOuterNullability(T)) { in stripObjCInstanceType() 1435 AttributedType::getNullabilityAttrKind(*nullability), in stripObjCInstanceType() 1472 (void)AttributedType::stripOuterNullability(type); in getBaseMessageSendResultType() 1476 AttributedType::getNullabilityAttrKind(*nullability), in getBaseMessageSendResultType() 1540 AttributedType::stripOuterNullability(T); in getMessageSendResultType() 1551 AttributedType::getNullabilityAttrKind(*Nullability), in getMessageSendResultType() 1603 if (auto attributed = dyn_cast<AttributedType>(resultType.getTypePtr())) { in getMessageSendResultType() 1615 AttributedType::getNullabilityAttrKind(newNullability), in getMessageSendResultType() [all …]
|
| H A D | SemaType.cpp | 184 using TypeAttrPair = std::pair<const AttributedType*, const Attr*>; 274 if (auto *AttrTy = TypeWithAuto->getAs<AttributedType>()) { in ReplaceAutoType() 276 auto *NewAttrTy = cast<AttributedType>(T.getTypePtr()); in ReplaceAutoType() 287 const Attr *takeAttrForAttributedType(const AttributedType *AT) { in takeAttrForAttributedType() 7025 } else if (isa<AttributedType>(Ty)) { in FunctionTypeUnwrapper() 7026 T = cast<AttributedType>(Ty)->getEquivalentType(); in FunctionTypeUnwrapper() 7166 const AttributedType *AT = dyn_cast<AttributedType>(Type); in handleMSPointerTypeQualifierAttr() 7170 AT = dyn_cast<AttributedType>(Desugared); in handleMSPointerTypeQualifierAttr() 7817 const AttributedType *AT; in hasExplicitCallingConv() 7821 while ((AT = T->getAs<AttributedType>()) && in hasExplicitCallingConv() [all …]
|
| H A D | SemaObjCProperty.cpp | 2482 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)) { in ProcessPropertyDecl() 2561 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)){ in ProcessPropertyDecl()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TypeNodes.td | 93 def AttributedType : TypeNode<Type>, NeverCanonical;
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Type.h | 1766 friend class AttributedType; 2547 template <> const AttributedType *Type::getAs() const; 4494 assert(isa<AttributedType>(UnderlyingTy) && 4761 class AttributedType : public Type, public llvm::FoldingSetNode { 4771 AttributedType(QualType canon, attr::Kind attrKind, QualType modified, 7334 if (const auto *A = dyn_cast<AttributedType>(Ty)) 7389 (void)AttributedType::stripOuterNullability(Adjusted); 7396 (void)AttributedType::stripOuterNullability(Decayed);
|
| H A D | ASTNodeTraverser.h | 385 void VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
|
| H A D | TypeProperties.td | 606 let Class = AttributedType in {
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGValue.h | 139 AttributedType, enumerator
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXType.cpp | 133 if (auto *ATT = T->getAs<AttributedType>()) { in MakeCXType() 1059 if (auto *ATT = T->getAs<AttributedType>()) in clang_Type_getModifiedType()
|
| /llvm-project-15.0.7/clang/lib/ExtractAPI/ |
| H A D | DeclarationFragments.cpp | 673 AttributedType::stripOuterNullability(Type)) { in getFragmentsForObjCProperty()
|