| /freebsd-14.2/contrib/llvm-project/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()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NonnullGlobalConstantsChecker.cpp | 114 if (const auto *AT = dyn_cast<AttributedType>(T)) { in isGlobalConstString()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | Type.cpp | 558 template <> const AttributedType *Type::getAs() const { in getAs() 559 return getAsSugar<AttributedType>(this); in getAs() 1167 QualType VisitAttributedType(const AttributedType *T) { in SUGARED_TYPE_CLASS() 1838 while (const auto *AT = Cur->getAs<AttributedType>()) { in hasAttr() 1929 Type *VisitAttributedType(const AttributedType *T) { in VisitAttributedType() 3872 bool AttributedType::isQualifier() const { in isQualifier() 3896 bool AttributedType::isMSTypeSpec() const { in isMSTypeSpec() 3909 bool AttributedType::isWebAssemblyFuncrefSpec() const { in isWebAssemblyFuncrefSpec() 3913 bool AttributedType::isCallingConv() const { in isCallingConv() 4457 while (const auto *AT = Type->getAs<AttributedType>()) { in getNullability() [all …]
|
| H A D | ASTDiagnostic.cpp | 64 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) { in desugarForDiagnostic() 87 if (auto nullability = AttributedType::stripOuterNullability(SugarRT)) { in desugarForDiagnostic() 89 AttributedType::getNullabilityAttrKind(*nullability), RT, RT); in desugarForDiagnostic() 99 AttributedType::stripOuterNullability(SugarPT)) { in desugarForDiagnostic() 101 AttributedType::getNullabilityAttrKind(*nullability), PT, PT); in desugarForDiagnostic()
|
| H A D | ASTStructuralEquivalence.cpp | 1062 cast<AttributedType>(T1)->getModifiedType(), in IsStructurallyEquivalent() 1063 cast<AttributedType>(T2)->getModifiedType())) in IsStructurallyEquivalent() 1066 Context, cast<AttributedType>(T1)->getEquivalentType(), in IsStructurallyEquivalent() 1067 cast<AttributedType>(T2)->getEquivalentType())) in IsStructurallyEquivalent()
|
| H A D | TypePrinter.cpp | 295 const auto *AttrTy = cast<AttributedType>(UnderlyingType); in canPrefixQualifiers() 1700 void TypePrinter::printAttributedBefore(const AttributedType *T, in printAttributedBefore() 1747 void TypePrinter::printAttributedAfter(const AttributedType *T, in printAttributedAfter()
|
| H A D | DeclPrinter.cpp | 1388 if (auto nullability = AttributedType::stripOuterNullability(T)) in PrintObjCMethodType() 1712 if (auto nullability = AttributedType::stripOuterNullability(T)) { in VisitObjCPropertyDecl()
|
| H A D | ASTContext.cpp | 2347 cast<AttributedType>(T)->getEquivalentType().getTypePtr()); in getTypeInfoImpl() 3166 if (const auto *AT = dyn_cast<AttributedType>(Orig)) in getFunctionTypeWithExceptionSpec() 4751 AttributedType::Profile(id, attrKind, modifiedType, equivalentType); in getAttributedType() 4754 AttributedType *type = AttributedTypes.FindNodeOrInsertPos(id, insertPos); in getAttributedType() 4758 type = new (*this, alignof(AttributedType)) in getAttributedType() 4759 AttributedType(canon, attrKind, modifiedType, equivalentType); in getAttributedType() 6952 AttributedType::getNullabilityAttrKind(*Nullability), Result, Result); in getArrayDecayedType() 9617 if (const AttributedType *Attr = dyn_cast<AttributedType>(Ty)) { in hasDirectOwnershipQualifier() 13042 const auto *AX = cast<AttributedType>(X), *AY = cast<AttributedType>(Y); in getCommonSugarTypeNode() 13043 AttributedType::Kind Kind = AX->getAttrKind(); in getCommonSugarTypeNode()
|
| H A D | ODRHash.cpp | 961 void VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerHelpers.cpp | 104 const auto *AttrType = Type->getAs<AttributedType>(); in getNullabilityAnnotation()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 545 AttributedType::getNullabilityAttrKind( in BuildObjCBoxedExpr() 599 AttributedType::getNullabilityAttrKind(*Nullability), BoxedType, in BuildObjCBoxedExpr() 1431 if (auto nullability = AttributedType::stripOuterNullability(T)) { in stripObjCInstanceType() 1434 AttributedType::getNullabilityAttrKind(*nullability), in stripObjCInstanceType() 1471 (void)AttributedType::stripOuterNullability(type); in getBaseMessageSendResultType() 1475 AttributedType::getNullabilityAttrKind(*nullability), in getBaseMessageSendResultType() 1539 AttributedType::stripOuterNullability(T); in getMessageSendResultType() 1550 AttributedType::getNullabilityAttrKind(*Nullability), in getMessageSendResultType() 1602 if (auto attributed = dyn_cast<AttributedType>(resultType.getTypePtr())) { in getMessageSendResultType() 1614 AttributedType::getNullabilityAttrKind(newNullability), in getMessageSendResultType() [all …]
|
| H A D | SemaType.cpp | 289 if (auto *AttrTy = TypeWithAuto->getAs<AttributedType>()) { in ReplaceAutoType() 291 auto *NewAttrTy = cast<AttributedType>(T.getTypePtr()); in ReplaceAutoType() 302 const Attr *takeAttrForAttributedType(const AttributedType *AT) { in takeAttrForAttributedType() 7279 } else if (isa<AttributedType>(Ty)) { in FunctionTypeUnwrapper() 7280 T = cast<AttributedType>(Ty)->getEquivalentType(); in FunctionTypeUnwrapper() 7427 const AttributedType *AT = dyn_cast<AttributedType>(Desugared); in handleMSPointerTypeQualifierAttr() 7502 const auto *AT = dyn_cast<AttributedType>(QT); in HandleWebAssemblyFuncrefAttr() 7505 AT = dyn_cast<AttributedType>(AT->getModifiedType()); in HandleWebAssemblyFuncrefAttr() 7527 auto Attributed = dyn_cast<AttributedType>(Type.getTypePtr()); in rebuildAttributedTypeWithoutNullability() 8286 const AttributedType *AT; in hasExplicitCallingConv() [all …]
|
| H A D | SemaObjCProperty.cpp | 2478 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)) { in ProcessPropertyDecl() 2554 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)){ in ProcessPropertyDecl()
|
| H A D | SemaDeclObjC.cpp | 4573 AttributedType::getNullabilityAttrKind(*prevNullability), in mergeTypeNullabilityForRedecl() 4748 (void)AttributedType::stripOuterNullability(bareResultType); in ActOnMethodDeclaration()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TypeNodes.td | 93 def AttributedType : TypeNode<Type>, NeverCanonical;
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Type.h | 1849 friend class AttributedType; 2720 template <> const AttributedType *Type::getAs() const; 4792 assert(isa<AttributedType>(UnderlyingTy) && 5077 class AttributedType : public Type, public llvm::FoldingSetNode { 5087 AttributedType(QualType canon, attr::Kind attrKind, QualType modified, 7611 if (const auto *A = dyn_cast<AttributedType>(Ty)) 7666 (void)AttributedType::stripOuterNullability(Adjusted); 7673 (void)AttributedType::stripOuterNullability(Decayed);
|
| H A D | ASTNodeTraverser.h | 391 void VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
|
| H A D | TypeProperties.td | 614 let Class = AttributedType in {
|
| H A D | RecursiveASTVisitor.h | 1101 DEF_TRAVERSE_TYPE(AttributedType, 1387 DEF_TRAVERSE_TYPELOC(AttributedType,
|
| H A D | TypeLoc.h | 868 AttributedType,
|
| H A D | ASTContext.h | 243 mutable llvm::FoldingSet<AttributedType> AttributedTypes;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGValue.h | 139 AttributedType, enumerator
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | DeclarationFragments.cpp | 1343 AttributedType::stripOuterNullability(Type)) { in getFragmentsForObjCProperty()
|