Home
last modified time | relevance | path

Searched refs:getAttrKind (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTypePrinter.cpp298 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 DType.cpp1244 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 DODRHash.cpp979 ID.AddInteger(T->getAttrKind()); in VisitAttributedType()
H A DASTContext.cpp3549 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 DASTImporter.cpp1540 return Importer.getToContext().getAttributedType(T->getAttrKind(), in VisitAttributedType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp108 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 DNonnullGlobalConstantsChecker.cpp115 if (AT->getAttrKind() == attr::TypeNonNull) in isGlobalConstString()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DAttributes.cpp148 return ::getAttrKind(normalizeName(Name, ScopeName, SyntaxUsed), SyntaxUsed); in getParsedKind()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DMarshallers.h162 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 DTransforms.cpp362 if (AttrT->getAttrKind() == attr::ObjCOwnership) in isGCOwnedNonObjC()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeLoc.h877 attr::Kind getAttrKind() const { in getAttrKind() function
878 return getTypePtr()->getAttrKind(); in getAttrKind()
H A DTypeProperties.td669 let Read = [{ node->getAttrKind() }];
H A DType.h6009 Kind getAttrKind() const {
6075 Profile(ID, getAttrKind(), ModifiedType, EquivalentType);
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h3223 Attribute::AttrKind getAttrKind() const { return AK; }
3228 Attrs.emplace_back(Attribute::get(Ctx, getAttrKind()));
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp7013 Attrs[AT->getAttrKind()] = true; in handleMSPointerTypeQualifierAttr()
7087 Attrs[AT->getAttrKind()] = true; in HandleWebAssemblyFuncrefAttr()
7122 return Ctx.getAttributedType(Attributed->getAttrKind(), Modified, in rebuildAttributedTypeWithoutNullability()
H A DTreeTransform.h7365 result = SemaRef.Context.getAttributedType(TL.getAttrKind(), in TransformAttributedType()