Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerHelpers.h25 class AttributedType; variable
/netbsd-src/external/apache2/llvm/dist/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()
1420 QualType VisitAttributedType(const AttributedType *attrType) { in VisitAttributedType()
1425 const auto *newAttrType = dyn_cast<AttributedType>(newType.getTypePtr()); in VisitAttributedType()
1772 while (const auto *AT = Cur->getAs<AttributedType>()) { in hasAttr()
1860 Type *VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
3396 QualType Inner = cast<AttributedType>(getUnderlyingType())->getModifiedType(); in getModifiedType()
3513 bool AttributedType::isQualifier() const { in isQualifier()
3537 bool AttributedType::isMSTypeSpec() const { in isMSTypeSpec()
[all …]
H A DASTDiagnostic.cpp56 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) { in Desugar()
79 if (auto nullability = AttributedType::stripOuterNullability(SugarRT)) { in Desugar()
81 AttributedType::getNullabilityAttrKind(*nullability), RT, RT); in Desugar()
91 AttributedType::stripOuterNullability(SugarPT)) { in Desugar()
93 AttributedType::getNullabilityAttrKind(*nullability), PT, PT); in Desugar()
H A DASTStructuralEquivalence.cpp925 cast<AttributedType>(T1)->getModifiedType(), in IsStructurallyEquivalent()
926 cast<AttributedType>(T2)->getModifiedType())) in IsStructurallyEquivalent()
929 Context, cast<AttributedType>(T1)->getEquivalentType(), in IsStructurallyEquivalent()
930 cast<AttributedType>(T2)->getEquivalentType())) in IsStructurallyEquivalent()
H A DTypePrinter.cpp277 const auto *AttrTy = cast<AttributedType>(T); in canPrefixQualifiers()
1574 void TypePrinter::printAttributedBefore(const AttributedType *T, in printAttributedBefore()
1618 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.cpp2345 cast<AttributedType>(T)->getEquivalentType().getTypePtr()); in getTypeInfoImpl()
3086 if (const auto *AT = dyn_cast<AttributedType>(Orig)) in getFunctionTypeWithExceptionSpec()
4566 AttributedType::Profile(id, attrKind, modifiedType, equivalentType); in getAttributedType()
4569 AttributedType *type = AttributedTypes.FindNodeOrInsertPos(id, insertPos); in getAttributedType()
4574 AttributedType(canon, attrKind, modifiedType, equivalentType); in getAttributedType()
6191 AttributedType::getNullabilityAttrKind(*Nullability), Result, Result); in getArrayDecayedType()
8733 if (const AttributedType *Attr = dyn_cast<AttributedType>(Ty)) { in hasDirectOwnershipQualifier()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DNonnullGlobalConstantsChecker.cpp119 } else if (const auto *AT = dyn_cast<AttributedType>(T)) { in isGlobalConstString()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp103 const auto *AttrType = Type->getAs<AttributedType>(); in getNullabilityAnnotation()
/netbsd-src/external/apache2/llvm/dist/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.cpp186 using TypeAttrPair = std::pair<const AttributedType*, const Attr*>;
262 AttrsForTypes.push_back({cast<AttributedType>(T.getTypePtr()), A}); in getAttributedType()
272 if (auto *AttrTy = TypeWithAuto->getAs<AttributedType>()) { in ReplaceAutoType()
274 auto *NewAttrTy = cast<AttributedType>(T.getTypePtr()); in ReplaceAutoType()
285 const Attr *takeAttrForAttributedType(const AttributedType *AT) { in takeAttrForAttributedType()
6843 } else if (isa<AttributedType>(Ty)) { in FunctionTypeUnwrapper()
6844 T = cast<AttributedType>(Ty)->getEquivalentType(); in FunctionTypeUnwrapper()
6898 return wrap(C, cast<AttributedType>(Old)->getEquivalentType(), I); in wrap()
6984 const AttributedType *AT = dyn_cast<AttributedType>(Type); in handleMSPointerTypeQualifierAttr()
6988 AT = dyn_cast<AttributedType>(Desugared); in handleMSPointerTypeQualifierAttr()
[all …]
H A DSemaObjCProperty.cpp2483 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)) { in ProcessPropertyDecl()
2562 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)){ in ProcessPropertyDecl()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DTypeNodes.td92 def AttributedType : TypeNode<Type>, NeverCanonical;
/netbsd-src/external/apache2/llvm/dist/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.h361 void VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
H A DTypeProperties.td593 let Class = AttributedType in {
H A DRecursiveASTVisitor.h1031 DEF_TRAVERSE_TYPE(AttributedType,
1316 DEF_TRAVERSE_TYPELOC(AttributedType,
H A DTypeLoc.h853 AttributedType,
H A DASTContext.h241 llvm::FoldingSet<AttributedType> AttributedTypes;
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGValue.h135 AttributedType, enumerator
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXType.cpp131 if (auto *ATT = T->getAs<AttributedType>()) { in MakeCXType()
1048 if (auto *ATT = T->getAs<AttributedType>()) in clang_Type_getModifiedType()

12