Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerHelpers.h25 class AttributedType; variable
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp103 const auto *AttrType = Type->getAs<AttributedType>(); in getNullabilityAnnotation()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp106 if (isa<AttributedType>(ty.getTypePtr())) in isImplicitStrong()
H A DTransforms.cpp361 if (const AttributedType *AttrT = T->getAs<AttributedType>()) { in isGCOwnedNonObjC()
H A DTransProperties.cpp322 if (isa<AttributedType>(I->IvarD->getType())) in hasIvarWithExplicitARCOwnership()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp412 template <> const AttributedType *Type::getAs() const { in getAs()
413 return getAsSugar<AttributedType>(this); in getAs()
1000 QualType VisitAttributedType(const AttributedType *T) { in TRIVIAL_TYPE_CLASS()
1632 while (const auto *AT = Cur->getAs<AttributedType>()) { in hasAttr()
1712 Type *VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
3196 bool AttributedType::isQualifier() const { in isQualifier()
3218 bool AttributedType::isMSTypeSpec() const { in isMSTypeSpec()
3231 bool AttributedType::isCallingConv() const { in isCallingConv()
3698 while (const auto *AT = Type->getAs<AttributedType>()) { in getNullability()
3823 AttributedType::getImmediateNullability() const { in getImmediateNullability()
[all …]
H A DASTDiagnostic.cpp52 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) { in Desugar()
75 if (auto nullability = AttributedType::stripOuterNullability(SugarRT)) { in Desugar()
77 AttributedType::getNullabilityAttrKind(*nullability), RT, RT); in Desugar()
87 AttributedType::stripOuterNullability(SugarPT)) { in Desugar()
89 AttributedType::getNullabilityAttrKind(*nullability), PT, PT); in Desugar()
H A DASTStructuralEquivalence.cpp557 cast<AttributedType>(T1)->getModifiedType(), in IsStructurallyEquivalent()
558 cast<AttributedType>(T2)->getModifiedType())) in IsStructurallyEquivalent()
561 Context, cast<AttributedType>(T1)->getEquivalentType(), in IsStructurallyEquivalent()
562 cast<AttributedType>(T2)->getEquivalentType())) in IsStructurallyEquivalent()
H A DDeclPrinter.cpp1167 if (auto nullability = AttributedType::stripOuterNullability(T)) in PrintObjCMethodType()
1460 if (auto nullability = AttributedType::stripOuterNullability(T)) { in VisitObjCPropertyDecl()
H A DTypePrinter.cpp1369 void TypePrinter::printAttributedBefore(const AttributedType *T, in printAttributedBefore()
1408 void TypePrinter::printAttributedAfter(const AttributedType *T, in printAttributedAfter()
H A DODRHash.cpp743 void VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
H A DASTContext.cpp2085 cast<AttributedType>(T)->getEquivalentType().getTypePtr()); in getTypeInfoImpl()
2767 if (const auto *AT = dyn_cast<AttributedType>(Orig)) in getFunctionTypeWithExceptionSpec()
3933 AttributedType::Profile(id, attrKind, modifiedType, equivalentType); in getAttributedType()
3936 AttributedType *type = AttributedTypes.FindNodeOrInsertPos(id, insertPos); in getAttributedType()
3941 AttributedType(canon, attrKind, modifiedType, equivalentType); in getAttributedType()
5514 AttributedType::getNullabilityAttrKind(*Nullability), Result, Result); in getArrayDecayedType()
H A DASTDumper.cpp179 void VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprObjC.cpp571 AttributedType::getNullabilityAttrKind(*Nullability), BoxedType, in BuildObjCBoxedExpr()
1262 if (auto nullability = AttributedType::stripOuterNullability(T)) { in stripObjCInstanceType()
1265 AttributedType::getNullabilityAttrKind(*nullability), in stripObjCInstanceType()
1302 (void)AttributedType::stripOuterNullability(type); in getBaseMessageSendResultType()
1306 AttributedType::getNullabilityAttrKind(*nullability), in getBaseMessageSendResultType()
1370 AttributedType::stripOuterNullability(T); in getMessageSendResultType()
1381 AttributedType::getNullabilityAttrKind(*Nullability), in getMessageSendResultType()
1425 if (auto attributed = dyn_cast<AttributedType>(resultType.getTypePtr())) { in getMessageSendResultType()
1437 AttributedType::getNullabilityAttrKind(newNullability), in getMessageSendResultType()
4201 else if (const AttributedType *AT = dyn_cast<AttributedType>(DT)) in CheckObjCConversion()
H A DSemaType.cpp182 using TypeAttrPair = std::pair<const AttributedType*, const Attr*>;
254 AttrsForTypes.push_back({cast<AttributedType>(T.getTypePtr()), A}); in getAttributedType()
260 const Attr *takeAttrForAttributedType(const AttributedType *AT) { in takeAttrForAttributedType()
5931 if (const AttributedType *attr = dyn_cast<AttributedType>(type)) { in hasDirectOwnershipQualifier()
6248 } else if (isa<AttributedType>(Ty)) { in FunctionTypeUnwrapper()
6249 T = cast<AttributedType>(Ty)->getEquivalentType(); in FunctionTypeUnwrapper()
6300 return wrap(C, cast<AttributedType>(Old)->getEquivalentType(), I); in wrap()
6361 const AttributedType *AT = dyn_cast<AttributedType>(Type); in handleMSPointerTypeQualifierAttr()
6388 AT = dyn_cast<AttributedType>(Desugared); in handleMSPointerTypeQualifierAttr()
6491 = AttributedType::stripOuterNullability(underlyingType)) { in checkNullabilityTypeSpecifier()
[all …]
H A DSemaObjCProperty.cpp2385 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)) { in ProcessPropertyDecl()
2459 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)){ in ProcessPropertyDecl()
H A DSemaDeclObjC.cpp4433 AttributedType::getNullabilityAttrKind(*prevNullability), in mergeTypeNullabilityForRedecl()
4551 (void)AttributedType::stripOuterNullability(bareResultType); in ActOnMethodDeclaration()
H A DSemaCodeComplete.cpp2336 if (auto nullability = AttributedType::stripOuterNullability(Type)) { in formatObjCParamQualifiers()
7832 AttributedType::stripOuterNullability(ResTy); in CodeCompleteObjCMethodDecl()
7866 AttributedType::stripOuterNullability(ParamType); in CodeCompleteObjCMethodDecl()
H A DSemaDecl.cpp2787 AttributedType::getNullabilityAttrKind(*Oldnullability), in mergeParamDeclTypes()
2857 const AttributedType *Sema::getCallingConvAttributedType(QualType T) const { in getCallingConvAttributedType()
2858 const AttributedType *AT = T->getAs<AttributedType>(); in getCallingConvAttributedType()
2860 AT = AT->getModifiedType()->getAs<AttributedType>(); in getCallingConvAttributedType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGValue.h135 AttributedType, enumerator
H A DCodeGenFunction.cpp129 *BaseInfo = LValueBaseInfo(AlignmentSource::AttributedType); in getNaturalTypeAlignment()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DType.h1620 friend class AttributedType;
2375 template <> const AttributedType *Type::getAs() const;
4425 class AttributedType : public Type, public llvm::FoldingSetNode {
4435 AttributedType(QualType canon, attr::Kind attrKind, QualType modified,
6780 if (const auto *A = dyn_cast<AttributedType>(Ty))
6831 (void)AttributedType::stripOuterNullability(Adjusted);
6838 (void)AttributedType::stripOuterNullability(Decayed);
H A DRecursiveASTVisitor.h1064 DEF_TRAVERSE_TYPE(AttributedType,
1312 DEF_TRAVERSE_TYPELOC(AttributedType,
H A DTypeLoc.h851 AttributedType,
H A DASTContext.h221 llvm::FoldingSet<AttributedType> AttributedTypes;

12