Home
last modified time | relevance | path

Searched refs:AttributedType (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerHelpers.h27 class AttributedType; variable
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp105 if (isa<AttributedType>(ty.getTypePtr())) in isImplicitStrong()
H A DTransforms.cpp362 if (const AttributedType *AttrT = T->getAs<AttributedType>()) { in isGCOwnedNonObjC()
H A DTransProperties.cpp323 if (isa<AttributedType>(I->IvarD->getType())) in hasIvarWithExplicitARCOwnership()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNonnullGlobalConstantsChecker.cpp119 } else if (const auto *AT = dyn_cast<AttributedType>(T)) { in isGlobalConstString()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DType.cpp532 template <> const AttributedType *Type::getAs() const { in getAs()
533 return getAsSugar<AttributedType>(this); in getAs()
1135 QualType VisitAttributedType(const AttributedType *T) { in SUGARED_TYPE_CLASS()
1772 while (const auto *AT = Cur->getAs<AttributedType>()) { in hasAttr()
1863 Type *VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
3517 bool AttributedType::isQualifier() const { in isQualifier()
3541 bool AttributedType::isMSTypeSpec() const { in isMSTypeSpec()
3554 bool AttributedType::isCallingConv() const { in isCallingConv()
4032 while (const auto *AT = Type->getAs<AttributedType>()) { in getNullability()
4172 AttributedType::getImmediateNullability() const { in getImmediateNullability()
[all …]
H A DASTDiagnostic.cpp57 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) { in Desugar()
80 if (auto nullability = AttributedType::stripOuterNullability(SugarRT)) { in Desugar()
82 AttributedType::getNullabilityAttrKind(*nullability), RT, RT); in Desugar()
92 AttributedType::stripOuterNullability(SugarPT)) { in Desugar()
94 AttributedType::getNullabilityAttrKind(*nullability), PT, PT); in Desugar()
H A DASTStructuralEquivalence.cpp926 cast<AttributedType>(T1)->getModifiedType(), in IsStructurallyEquivalent()
927 cast<AttributedType>(T2)->getModifiedType())) in IsStructurallyEquivalent()
930 Context, cast<AttributedType>(T1)->getEquivalentType(), in IsStructurallyEquivalent()
931 cast<AttributedType>(T2)->getEquivalentType())) in IsStructurallyEquivalent()
H A DTypePrinter.cpp277 const auto *AttrTy = cast<AttributedType>(T); in canPrefixQualifiers()
1578 void TypePrinter::printAttributedBefore(const AttributedType *T, in printAttributedBefore()
1622 void TypePrinter::printAttributedAfter(const AttributedType *T, in printAttributedAfter()
H A DDeclPrinter.cpp1232 if (auto nullability = AttributedType::stripOuterNullability(T)) in PrintObjCMethodType()
1556 if (auto nullability = AttributedType::stripOuterNullability(T)) { in VisitObjCPropertyDecl()
H A DODRHash.cpp820 void VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
H A DASTContext.cpp2360 cast<AttributedType>(T)->getEquivalentType().getTypePtr()); in getTypeInfoImpl()
3101 if (const auto *AT = dyn_cast<AttributedType>(Orig)) in getFunctionTypeWithExceptionSpec()
4581 AttributedType::Profile(id, attrKind, modifiedType, equivalentType); in getAttributedType()
4584 AttributedType *type = AttributedTypes.FindNodeOrInsertPos(id, insertPos); in getAttributedType()
4589 AttributedType(canon, attrKind, modifiedType, equivalentType); in getAttributedType()
6210 AttributedType::getNullabilityAttrKind(*Nullability), Result, Result); in getArrayDecayedType()
8767 if (const AttributedType *Attr = dyn_cast<AttributedType>(Ty)) { in hasDirectOwnershipQualifier()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp103 const auto *AttrType = Type->getAs<AttributedType>(); in getNullabilityAnnotation()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp544 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 DSemaType.cpp187 using TypeAttrPair = std::pair<const AttributedType*, const Attr*>;
273 if (auto *AttrTy = TypeWithAuto->getAs<AttributedType>()) { in ReplaceAutoType()
275 auto *NewAttrTy = cast<AttributedType>(T.getTypePtr()); in ReplaceAutoType()
286 const Attr *takeAttrForAttributedType(const AttributedType *AT) { in takeAttrForAttributedType()
6876 } else if (isa<AttributedType>(Ty)) { in FunctionTypeUnwrapper()
6877 T = cast<AttributedType>(Ty)->getEquivalentType(); in FunctionTypeUnwrapper()
7017 const AttributedType *AT = dyn_cast<AttributedType>(Type); in handleMSPointerTypeQualifierAttr()
7021 AT = dyn_cast<AttributedType>(Desugared); in handleMSPointerTypeQualifierAttr()
7664 const AttributedType *AT; in hasExplicitCallingConv()
7668 while ((AT = T->getAs<AttributedType>()) && in hasExplicitCallingConv()
[all …]
H A DSemaObjCProperty.cpp2482 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)) { in ProcessPropertyDecl()
2561 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)){ in ProcessPropertyDecl()
H A DSemaDeclObjC.cpp4554 AttributedType::getNullabilityAttrKind(*prevNullability), in mergeTypeNullabilityForRedecl()
4729 (void)AttributedType::stripOuterNullability(bareResultType); in ActOnMethodDeclaration()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td92 def AttributedType : TypeNode<Type>, NeverCanonical;
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DType.h1692 friend class AttributedType;
2471 template <> const AttributedType *Type::getAs() const;
4403 assert(isa<AttributedType>(UnderlyingTy) &&
4670 class AttributedType : public Type, public llvm::FoldingSetNode {
4680 AttributedType(QualType canon, attr::Kind attrKind, QualType modified,
7192 if (const auto *A = dyn_cast<AttributedType>(Ty))
7245 (void)AttributedType::stripOuterNullability(Adjusted);
7252 (void)AttributedType::stripOuterNullability(Decayed);
H A DASTNodeTraverser.h385 void VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
H A DTypeProperties.td593 let Class = AttributedType in {
H A DRecursiveASTVisitor.h1029 DEF_TRAVERSE_TYPE(AttributedType,
1314 DEF_TRAVERSE_TYPELOC(AttributedType,
H A DTypeLoc.h853 AttributedType,
H A DASTContext.h242 llvm::FoldingSet<AttributedType> AttributedTypes;
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGValue.h135 AttributedType, enumerator

12