| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NonnullGlobalConstantsChecker.cpp | 114 if (const auto *AT = dyn_cast<AttributedType>(T)) { in isGlobalConstString()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | Type.cpp | 536 template <> const AttributedType *Type::getAs() const { in getAs() 537 return getAsSugar<AttributedType>(this); in getAs() 1145 QualType VisitAttributedType(const AttributedType *T) { in SUGARED_TYPE_CLASS() 1431 QualType VisitAttributedType(const AttributedType *attrType) { in VisitAttributedType() 1436 const auto *newAttrType = dyn_cast<AttributedType>(newType.getTypePtr()); in VisitAttributedType() 1802 while (const auto *AT = Cur->getAs<AttributedType>()) { in hasAttr() 1893 Type *VisitAttributedType(const AttributedType *T) { in VisitAttributedType() 3479 QualType Inner = cast<AttributedType>(getUnderlyingType())->getModifiedType(); in getModifiedType() 3606 bool AttributedType::isQualifier() const { in isQualifier() 3630 bool AttributedType::isMSTypeSpec() const { in isMSTypeSpec() [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 | 978 cast<AttributedType>(T1)->getModifiedType(), in IsStructurallyEquivalent() 979 cast<AttributedType>(T2)->getModifiedType())) in IsStructurallyEquivalent() 982 Context, cast<AttributedType>(T1)->getEquivalentType(), in IsStructurallyEquivalent() 983 cast<AttributedType>(T2)->getEquivalentType())) in IsStructurallyEquivalent()
|
| H A D | TypePrinter.cpp | 295 const auto *AttrTy = cast<AttributedType>(UnderlyingType); in canPrefixQualifiers() 1624 void TypePrinter::printAttributedBefore(const AttributedType *T, in printAttributedBefore() 1668 void TypePrinter::printAttributedAfter(const AttributedType *T, in printAttributedAfter()
|
| H A D | DeclPrinter.cpp | 1249 if (auto nullability = AttributedType::stripOuterNullability(T)) in PrintObjCMethodType() 1573 if (auto nullability = AttributedType::stripOuterNullability(T)) { in VisitObjCPropertyDecl()
|
| H A D | ASTContext.cpp | 2402 cast<AttributedType>(T)->getEquivalentType().getTypePtr()); in getTypeInfoImpl() 3205 if (const auto *AT = dyn_cast<AttributedType>(Orig)) in getFunctionTypeWithExceptionSpec() 4772 AttributedType::Profile(id, attrKind, modifiedType, equivalentType); in getAttributedType() 4775 AttributedType *type = AttributedTypes.FindNodeOrInsertPos(id, insertPos); in getAttributedType() 4780 AttributedType(canon, attrKind, modifiedType, equivalentType); in getAttributedType() 6945 AttributedType::getNullabilityAttrKind(*Nullability), Result, Result); in getArrayDecayedType() 9510 if (const AttributedType *Attr = dyn_cast<AttributedType>(Ty)) { in hasDirectOwnershipQualifier() 12892 const auto *AX = cast<AttributedType>(X), *AY = cast<AttributedType>(Y); in getCommonSugarTypeNode() 12893 AttributedType::Kind Kind = AX->getAttrKind(); in getCommonSugarTypeNode()
|
| H A D | ODRHash.cpp | 975 void VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerHelpers.cpp | 104 const auto *AttrType = Type->getAs<AttributedType>(); in getNullabilityAnnotation()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 545 AttributedType::getNullabilityAttrKind( in BuildObjCBoxedExpr() 599 AttributedType::getNullabilityAttrKind(*Nullability), BoxedType, in BuildObjCBoxedExpr() 1430 if (auto nullability = AttributedType::stripOuterNullability(T)) { in stripObjCInstanceType() 1433 AttributedType::getNullabilityAttrKind(*nullability), in stripObjCInstanceType() 1470 (void)AttributedType::stripOuterNullability(type); in getBaseMessageSendResultType() 1474 AttributedType::getNullabilityAttrKind(*nullability), in getBaseMessageSendResultType() 1538 AttributedType::stripOuterNullability(T); in getMessageSendResultType() 1549 AttributedType::getNullabilityAttrKind(*Nullability), in getMessageSendResultType() 1601 if (auto attributed = dyn_cast<AttributedType>(resultType.getTypePtr())) { in getMessageSendResultType() 1613 AttributedType::getNullabilityAttrKind(newNullability), in getMessageSendResultType() [all …]
|
| H A D | SemaType.cpp | 187 using TypeAttrPair = std::pair<const AttributedType*, const Attr*>; 261 AttrsForTypes.push_back({cast<AttributedType>(T.getTypePtr()), A}); in getAttributedType() 277 if (auto *AttrTy = TypeWithAuto->getAs<AttributedType>()) { in ReplaceAutoType() 279 auto *NewAttrTy = cast<AttributedType>(T.getTypePtr()); in ReplaceAutoType() 290 const Attr *takeAttrForAttributedType(const AttributedType *AT) { in takeAttrForAttributedType() 7120 } else if (isa<AttributedType>(Ty)) { in FunctionTypeUnwrapper() 7121 T = cast<AttributedType>(Ty)->getEquivalentType(); in FunctionTypeUnwrapper() 7175 return wrap(C, cast<AttributedType>(Old)->getEquivalentType(), I); in wrap() 7268 const AttributedType *AT = dyn_cast<AttributedType>(Desugared); in handleMSPointerTypeQualifierAttr() 7381 while (auto attributed = dyn_cast<AttributedType>(desugared.getTypePtr())) { in checkNullabilityTypeSpecifier() [all …]
|
| H A D | SemaObjCProperty.cpp | 2479 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)) { in ProcessPropertyDecl() 2558 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)){ in ProcessPropertyDecl()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | TypeNodes.td | 93 def AttributedType : TypeNode<Type>, NeverCanonical;
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | Type.h | 1776 friend class AttributedType; 2609 template <> const AttributedType *Type::getAs() const; 4586 assert(isa<AttributedType>(UnderlyingTy) && 4876 class AttributedType : public Type, public llvm::FoldingSetNode { 4886 AttributedType(QualType canon, attr::Kind attrKind, QualType modified, 7429 if (const auto *A = dyn_cast<AttributedType>(Ty)) 7484 (void)AttributedType::stripOuterNullability(Adjusted); 7491 (void)AttributedType::stripOuterNullability(Decayed);
|
| H A D | ASTNodeTraverser.h | 385 void VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
|
| H A D | TypeProperties.td | 610 let Class = AttributedType in {
|
| H A D | RecursiveASTVisitor.h | 1107 DEF_TRAVERSE_TYPE(AttributedType, 1396 DEF_TRAVERSE_TYPELOC(AttributedType,
|
| H A D | TypeLoc.h | 862 AttributedType,
|
| H A D | ASTContext.h | 238 mutable llvm::FoldingSet<AttributedType> AttributedTypes;
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGValue.h | 139 AttributedType, enumerator
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CXType.cpp | 134 if (auto *ATT = T->getAs<AttributedType>()) { in MakeCXType() 1069 if (auto *ATT = T->getAs<AttributedType>()) in clang_Type_getModifiedType()
|
| /openbsd-src/gnu/llvm/clang/lib/ExtractAPI/ |
| H A D | DeclarationFragments.cpp | 677 AttributedType::stripOuterNullability(Type)) { in getFragmentsForObjCProperty()
|