Searched refs:getAttrKind (Results 1 – 16 of 16) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | TypePrinter.cpp | 298 CanPrefixQualifiers = AttrTy->getAttrKind() == attr::AddressSpace; in canPrefixQualifiers() 1811 if (T->getAttrKind() == attr::ObjCGC || in printAttributedBefore() 1812 T->getAttrKind() == attr::ObjCOwnership) in printAttributedBefore() 1815 if (T->getAttrKind() == attr::ObjCKindOf) in printAttributedBefore() 1818 if (T->getAttrKind() == attr::AddressSpace) in printAttributedBefore() 1824 switch (T->getAttrKind()) { in printAttributedBefore() 1839 if (T->getAttrKind() == attr::TypeNonNull) in printAttributedBefore() 1841 else if (T->getAttrKind() == attr::TypeNullable) in printAttributedBefore() 1843 else if (T->getAttrKind() == attr::TypeNullUnspecified) in printAttributedBefore() 1845 else if (T->getAttrKind() == attr::TypeNullableResult) in printAttributedBefore() [all …]
|
H A D | Type.cpp | 1244 return Ctx.getAttributedType(T->getAttrKind(), modifiedType, in SUGARED_TYPE_CLASS() 1521 if (!newAttrType || newAttrType->getAttrKind() != attr::ObjCKindOf) in VisitAttributedType() 1547 return Ctx.getAttributedType(newAttrType->getAttrKind(), in VisitAttributedType() 1902 if (AT->getAttrKind() == AK) in hasAttr() 4101 switch (getAttrKind()) { in isQualifier() 4125 switch (getAttrKind()) { in isMSTypeSpec() 4137 return getAttrKind() == attr::WebAssemblyFuncref; in isWebAssemblyFuncrefSpec() 4142 switch (getAttrKind()) { in isCallingConv() 4844 if (getAttrKind() == attr::TypeNonNull) in getImmediateNullability() 4846 if (getAttrKind() == attr::TypeNullable) in getImmediateNullability() [all …]
|
H A D | ODRHash.cpp | 979 ID.AddInteger(T->getAttrKind()); in VisitAttributedType()
|
H A D | ASTContext.cpp | 3549 AT->getAttrKind(), in getFunctionTypeWithExceptionSpec() 10068 if (Attr->getAttrKind() == attr::ObjCOwnership) in hasDirectOwnershipQualifier() 13556 AttributedType::Kind Kind = AX->getAttrKind(); in getCommonSugarTypeNode() 13557 if (Kind != AY->getAttrKind()) in getCommonSugarTypeNode()
|
H A D | ASTImporter.cpp | 1540 return Importer.getToContext().getAttributedType(T->getAttrKind(), in VisitAttributedType()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerHelpers.cpp | 108 if (AttrType->getAttrKind() == attr::TypeNullable) in getNullabilityAnnotation() 110 else if (AttrType->getAttrKind() == attr::TypeNonNull) in getNullabilityAnnotation()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NonnullGlobalConstantsChecker.cpp | 115 if (AT->getAttrKind() == attr::TypeNonNull) in isGlobalConstString()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | Attributes.cpp | 148 return ::getAttrKind(normalizeName(Name, ScopeName, SyntaxUsed), SyntaxUsed); in getParsedKind()
|
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
H A D | Marshallers.h | 162 static std::optional<attr::Kind> getAttrKind(llvm::StringRef AttrKind) { 176 return getAttrKind(Value.getString()).has_value(); 180 return *getAttrKind(Value.getString());
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | Transforms.cpp | 362 if (AttrT->getAttrKind() == attr::ObjCOwnership) in isGCOwnedNonObjC()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | TypeLoc.h | 877 attr::Kind getAttrKind() const { in getAttrKind() function 878 return getTypePtr()->getAttrKind(); in getAttrKind()
|
H A D | TypeProperties.td | 669 let Read = [{ node->getAttrKind() }];
|
H A D | Type.h | 6009 Kind getAttrKind() const { 6075 Profile(ID, getAttrKind(), ModifiedType, EquivalentType);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 3223 Attribute::AttrKind getAttrKind() const { return AK; } 3228 Attrs.emplace_back(Attribute::get(Ctx, getAttrKind()));
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaType.cpp | 7013 Attrs[AT->getAttrKind()] = true; in handleMSPointerTypeQualifierAttr() 7087 Attrs[AT->getAttrKind()] = true; in HandleWebAssemblyFuncrefAttr() 7122 return Ctx.getAttributedType(Attributed->getAttrKind(), Modified, in rebuildAttributedTypeWithoutNullability()
|
H A D | TreeTransform.h | 7365 result = SemaRef.Context.getAttributedType(TL.getAttrKind(), in TransformAttributedType()
|