| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Type.cpp | 638 template <> const AttributedType *Type::getAs() const { in getAs() 639 return getAsSugar<AttributedType>(this); in getAs() 1278 QualType VisitAttributedType(const AttributedType *T) { in SUGARED_TYPE_CLASS() 1560 QualType VisitAttributedType(const AttributedType *attrType) { in VisitAttributedType() 1565 const auto *newAttrType = dyn_cast<AttributedType>(newType.getTypePtr()); in VisitAttributedType() 1956 while (const auto *AT = Cur->getAs<AttributedType>()) { in hasAttr() 2044 Type *VisitAttributedType(const AttributedType *T) { in VisitAttributedType() 4069 QualType Inner = cast<AttributedType>(getUnderlyingType())->getModifiedType(); in getModifiedType() 4276 AttributedType::AttributedType(QualType canon, const Attr *attr, in AttributedType() function in AttributedType 4278 : AttributedType(canon, attr->getKind(), attr, modified, equivalent) {} in AttributedType() [all …]
|
| H A D | ASTDiagnostic.cpp | 66 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) { in desugarForDiagnostic() 89 if (auto nullability = AttributedType::stripOuterNullability(SugarRT)) { in desugarForDiagnostic() 100 AttributedType::stripOuterNullability(SugarPT)) { in desugarForDiagnostic()
|
| H A D | QualTypeNames.cpp | 421 if (auto *AT = dyn_cast<AttributedType>(QT.getTypePtr())) { in getFullyQualifiedType()
|
| H A D | ASTStructuralEquivalence.cpp | 1147 cast<AttributedType>(T1)->getModifiedType(), in IsStructurallyEquivalent() 1148 cast<AttributedType>(T2)->getModifiedType())) in IsStructurallyEquivalent() 1151 Context, cast<AttributedType>(T1)->getEquivalentType(), in IsStructurallyEquivalent() 1152 cast<AttributedType>(T2)->getEquivalentType())) in IsStructurallyEquivalent()
|
| H A D | TypePrinter.cpp | 298 const auto *AttrTy = cast<AttributedType>(UnderlyingType); in canPrefixQualifiers() 1852 void TypePrinter::printAttributedBefore(const AttributedType *T, in printAttributedBefore() 1910 void TypePrinter::printAttributedAfter(const AttributedType *T, in printAttributedAfter()
|
| H A D | DeclPrinter.cpp | 1381 if (auto nullability = AttributedType::stripOuterNullability(T)) in PrintObjCMethodType() 1710 if (auto nullability = AttributedType::stripOuterNullability(T)) { in VisitObjCPropertyDecl()
|
| H A D | ASTContext.cpp | 2552 cast<AttributedType>(T)->getEquivalentType().getTypePtr()); in getTypeInfoImpl() 3728 const auto *AT = cast<AttributedType>(Orig); in adjustType() 5485 AttributedType::Profile(id, attrKind, modifiedType, equivalentType, attr); in getAttributedType() 5488 AttributedType *type = AttributedTypes.FindNodeOrInsertPos(id, insertPos); in getAttributedType() 5494 type = new (*this, alignof(AttributedType)) in getAttributedType() 5495 AttributedType(canon, attrKind, attr, modifiedType, equivalentType); in getAttributedType() 10640 if (const AttributedType *Attr = dyn_cast<AttributedType>(Ty)) { in hasDirectOwnershipQualifier() 14361 const auto *AX = cast<AttributedType>(X), *AY = cast<AttributedType>(Y); in getCommonSugarTypeNode() 14362 AttributedType::Kind Kind = AX->getAttrKind(); in getCommonSugarTypeNode()
|
| H A D | ODRHash.cpp | 1006 void VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NonnullGlobalConstantsChecker.cpp | 113 if (const auto *AT = dyn_cast<AttributedType>(T)) { in isGlobalConstString()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerHelpers.cpp | 105 const auto *AttrType = Type->getAs<AttributedType>(); in getNullabilityAnnotation()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAPINotes.cpp | 633 QualType AttributedType = in ProcessAPINotes() local 637 AttributedTypeLoc TyLoc = TLB.push<AttributedTypeLoc>(AttributedType); in ProcessAPINotes() 639 Method->setType(AttributedType); in ProcessAPINotes() 640 Method->setTypeSourceInfo(TLB.getTypeSourceInfo(S.Context, AttributedType)); in ProcessAPINotes()
|
| H A D | SemaType.cpp | 212 using TypeAttrPair = std::pair<const AttributedType*, const Attr*>; 291 AttrsForTypes.push_back({cast<AttributedType>(T.getTypePtr()), A}); in getAttributedType() 307 if (auto *AttrTy = TypeWithAuto->getAs<AttributedType>()) { in ReplaceAutoType() 309 auto *NewAttrTy = cast<AttributedType>(T.getTypePtr()); in ReplaceAutoType() 320 const Attr *takeAttrForAttributedType(const AttributedType *AT) { in takeAttrForAttributedType() 6889 } else if (isa<AttributedType>(Ty)) { in FunctionTypeUnwrapper() 6890 T = cast<AttributedType>(Ty)->getEquivalentType(); in FunctionTypeUnwrapper() 6944 return wrap(C, cast<AttributedType>(Old)->getEquivalentType(), I); in wrap() 7038 const AttributedType *AT = dyn_cast<AttributedType>(Desugared); in handleMSPointerTypeQualifierAttr() 7113 const auto *AT = dyn_cast<AttributedType>(QT); in HandleWebAssemblyFuncrefAttr() [all …]
|
| H A D | SemaExprObjC.cpp | 1439 if (auto nullability = AttributedType::stripOuterNullability(T)) { in stripObjCInstanceType() 1477 (void)AttributedType::stripOuterNullability(type); in getBaseMessageSendResultType() 1541 AttributedType::stripOuterNullability(T); in getMessageSendResultType() 1603 if (auto attributed = dyn_cast<AttributedType>(resultType.getTypePtr())) { in getMessageSendResultType() 4420 else if (const AttributedType *AT = dyn_cast<AttributedType>(DT)) in CheckObjCConversion()
|
| H A D | SemaObjCProperty.cpp | 2470 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)) { in ProcessPropertyDecl() 2548 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)){ in ProcessPropertyDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenValue.h | 118 AttributedType, enumerator
|
| H A D | CIRGenModule.cpp | 149 *baseInfo = LValueBaseInfo(AlignmentSource::AttributedType); in getNaturalTypeAlignment()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | TemplateArgumentHasher.cpp | 274 void VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TypeNodes.td | 94 def AttributedType : TypeNode<Type>, NeverCanonical;
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Type.h | 2087 friend class AttributedType; 3068 template <> const AttributedType *Type::getAs() const; 5858 assert(isa<AttributedType>(UnderlyingTy) && 6188 class AttributedType : public Type, public llvm::FoldingSetNode { 6200 AttributedType(QualType canon, attr::Kind attrKind, QualType modified, 6202 : AttributedType(canon, attrKind, nullptr, modified, equivalent) {} 6204 AttributedType(QualType canon, const Attr *attr, QualType modified, 6208 AttributedType(QualType canon, attr::Kind attrKind, const Attr *attr, 8968 if (const auto *A = dyn_cast<AttributedType>(Ty)) 9025 (void)AttributedType::stripOuterNullability(Adjusted); [all …]
|
| H A D | ASTNodeTraverser.h | 440 void VisitAttributedType(const AttributedType *T) { in VisitAttributedType()
|
| H A D | TypeProperties.td | 653 let Class = AttributedType in {
|
| H A D | RecursiveASTVisitor.h | 1142 DEF_TRAVERSE_TYPE(AttributedType, 1456 DEF_TRAVERSE_TYPELOC(AttributedType,
|
| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | DeclarationFragments.cpp | 278 if (const AttributedType *AT = dyn_cast<AttributedType>(T)) { in getFragmentsForType() 1526 AttributedType::stripOuterNullability(Type)) { in getFragmentsForObjCProperty()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGValue.h | 150 AttributedType,
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | PtrTypesSemantics.cpp | 474 if (auto *AttrType = dyn_cast<AttributedType>(Type)) { in isPtrConversion()
|