/external/clang/lib/AST/ |
D | TypePrinter.cpp | 1171 if (T->getAttrKind() == AttributedType::attr_objc_gc || in printAttributedBefore() 1172 T->getAttrKind() == AttributedType::attr_objc_ownership) in printAttributedBefore() 1175 if (T->getAttrKind() == AttributedType::attr_objc_kindof) in printAttributedBefore() 1181 switch (T->getAttrKind()) { in printAttributedBefore() 1192 if (T->getAttrKind() == AttributedType::attr_nonnull || in printAttributedBefore() 1193 T->getAttrKind() == AttributedType::attr_nullable || in printAttributedBefore() 1194 T->getAttrKind() == AttributedType::attr_null_unspecified) { in printAttributedBefore() 1195 if (T->getAttrKind() == AttributedType::attr_nonnull) in printAttributedBefore() 1197 else if (T->getAttrKind() == AttributedType::attr_nullable) in printAttributedBefore() 1199 else if (T->getAttrKind() == AttributedType::attr_null_unspecified) in printAttributedBefore() [all …]
|
D | TypeLoc.cpp | 362 if (attributedLoc.getAttrKind() == AttributedType::attr_nullable || in findNullabilityLoc() 363 attributedLoc.getAttrKind() == AttributedType::attr_nonnull || in findNullabilityLoc() 364 attributedLoc.getAttrKind() == AttributedType::attr_null_unspecified) in findNullabilityLoc()
|
D | Type.cpp | 523 if (attributed->getAttrKind() == in isObjCInertUnsafeUnretainedType() 941 return Ctx.getAttributedType(T->getAttrKind(), modifiedType, in TRIVIAL_TYPE_CLASS() 2969 switch (getAttrKind()) { in isQualifier() 3014 switch (getAttrKind()) { in isMSTypeSpec() 3026 switch (getAttrKind()) { in isCallingConv() 3610 if (getAttrKind() == AttributedType::attr_nonnull) in getImmediateNullability() 3612 if (getAttrKind() == AttributedType::attr_nullable) in getImmediateNullability() 3614 if (getAttrKind() == AttributedType::attr_null_unspecified) in getImmediateNullability()
|
/external/llvm-project/clang/lib/AST/ |
D | TypePrinter.cpp | 275 CanPrefixQualifiers = AttrTy->getAttrKind() == attr::AddressSpace; in canPrefixQualifiers() 1542 if (T->getAttrKind() == attr::ObjCGC || in printAttributedBefore() 1543 T->getAttrKind() == attr::ObjCOwnership) in printAttributedBefore() 1546 if (T->getAttrKind() == attr::ObjCKindOf) in printAttributedBefore() 1549 if (T->getAttrKind() == attr::AddressSpace) in printAttributedBefore() 1555 switch (T->getAttrKind()) { in printAttributedBefore() 1567 if (T->getAttrKind() == attr::TypeNonNull) in printAttributedBefore() 1569 else if (T->getAttrKind() == attr::TypeNullable) in printAttributedBefore() 1571 else if (T->getAttrKind() == attr::TypeNullUnspecified) in printAttributedBefore() 1573 else if (T->getAttrKind() == attr::TypeNullableResult) in printAttributedBefore() [all …]
|
D | Type.cpp | 1150 return Ctx.getAttributedType(T->getAttrKind(), modifiedType, in SUGARED_TYPE_CLASS() 1426 if (!newAttrType || newAttrType->getAttrKind() != attr::ObjCKindOf) in VisitAttributedType() 1452 return Ctx.getAttributedType(newAttrType->getAttrKind(), in VisitAttributedType() 1773 if (AT->getAttrKind() == AK) in hasAttr() 3506 switch (getAttrKind()) { in isQualifier() 3530 switch (getAttrKind()) { in isMSTypeSpec() 3543 switch (getAttrKind()) { in isCallingConv() 4157 if (getAttrKind() == attr::TypeNonNull) in getImmediateNullability() 4159 if (getAttrKind() == attr::TypeNullable) in getImmediateNullability() 4161 if (getAttrKind() == attr::TypeNullUnspecified) in getImmediateNullability() [all …]
|
D | ODRHash.cpp | 821 ID.AddInteger(T->getAttrKind()); in VisitAttributedType()
|
D | ASTContext.cpp | 3045 AT->getAttrKind(), in getFunctionTypeWithExceptionSpec() 8620 if (Attr->getAttrKind() == attr::ObjCOwnership) in hasDirectOwnershipQualifier()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | CheckerHelpers.cpp | 106 if (AttrType->getAttrKind() == attr::TypeNullable) in getNullabilityAnnotation() 108 else if (AttrType->getAttrKind() == attr::TypeNonNull) in getNullabilityAnnotation()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | NonnullGlobalConstantsChecker.cpp | 120 if (AT->getAttrKind() == attr::TypeNonNull) in isGlobalConstString()
|
/external/llvm-project/clang/lib/Basic/ |
D | Attributes.cpp | 103 return ::getAttrKind(normalizeName(Name, ScopeName, SyntaxUsed), SyntaxUsed); in getParsedKind()
|
/external/clang/include/clang/AST/ |
D | TypeLoc.h | 729 AttributedType::Kind getAttrKind() const { in getAttrKind() function 730 return getTypePtr()->getAttrKind(); in getAttrKind() 734 return (getAttrKind() >= AttributedType::FirstExprOperandKind && in hasAttrExprOperand() 735 getAttrKind() <= AttributedType::LastExprOperandKind); in hasAttrExprOperand() 739 return (getAttrKind() >= AttributedType::FirstEnumOperandKind && in hasAttrEnumOperand() 740 getAttrKind() <= AttributedType::LastEnumOperandKind); in hasAttrEnumOperand()
|
D | Type.h | 3830 Kind getAttrKind() const { 3891 Profile(ID, getAttrKind(), ModifiedType, EquivalentType);
|
/external/clang/lib/Sema/ |
D | AttributeList.cpp | 142 return ::getAttrKind(FullName, SyntaxUsed); in getKind()
|
D | SemaType.cpp | 4787 AttributeList::Kind parsedKind = getAttrListKind(TL.getAttrKind()); in fillAttributedTypeLoc() 5343 if (attr->getAttrKind() == AttributedType::attr_objc_ownership) in hasDirectOwnershipQualifier() 5754 AttributedType::Kind CurAttrKind = AT->getAttrKind(); in handleMSPointerTypeQualifierAttr() 6188 if (AT && AT->getAttrKind() != CCAttrKind) { in handleFunctionTypeAttr()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Marshallers.h | 80 static attr::Kind getAttrKind(llvm::StringRef AttrKind) { 89 getAttrKind(Value.getString()) != attr::Kind(-1); 92 return getAttrKind(Value.getString());
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Marshallers.h | 163 static Optional<attr::Kind> getAttrKind(llvm::StringRef AttrKind) { 175 return getAttrKind(Value.getString()).hasValue(); 179 return *getAttrKind(Value.getString());
|
/external/clang/lib/ARCMigrate/ |
D | TransGCAttrs.cpp | 84 if (TL.getAttrKind() != AttributedType::attr_objc_ownership) in handleAttr()
|
D | Transforms.cpp | 367 if (AttrT->getAttrKind() == AttributedType::attr_objc_ownership) in isGCOwnedNonObjC()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/ |
D | Attributor.h | 1646 if (isa<UndefValue>(IRP.getAssociatedValue()) || hasAttr(getAttrKind())) { 1674 Attribute::AttrKind getAttrKind() const { return AK; } 1679 Attrs.emplace_back(Attribute::get(Ctx, getAttrKind()));
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NullabilityChecker.cpp | 352 if (AttrType->getAttrKind() == AttributedType::attr_nullable) in getNullabilityAnnotation() 354 else if (AttrType->getAttrKind() == AttributedType::attr_nonnull) in getNullabilityAnnotation()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | Transforms.cpp | 363 if (AttrT->getAttrKind() == attr::ObjCOwnership) in isGCOwnedNonObjC()
|
/external/llvm-project/llvm/include/llvm/Transforms/IPO/ |
D | Attributor.h | 2183 this->hasAttr(getAttrKind(), /* IgnoreSubsumingPositions */ false, 2213 Attribute::AttrKind getAttrKind() const { return AK; } 2218 Attrs.emplace_back(Attribute::get(Ctx, getAttrKind()));
|
/external/llvm-project/clang/include/clang/AST/ |
D | TypeLoc.h | 856 attr::Kind getAttrKind() const { in getAttrKind() function 857 return getTypePtr()->getAttrKind(); in getAttrKind()
|
D | TypeProperties.td | 597 let Read = [{ node->getAttrKind() }];
|
D | Type.h | 4676 Kind getAttrKind() const { 4740 Profile(ID, getAttrKind(), ModifiedType, EquivalentType);
|