Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DTypePrinter.cpp1133 if (T->getAttrKind() == AttributedType::attr_objc_gc || in printAttributedBefore()
1134 T->getAttrKind() == AttributedType::attr_objc_ownership) in printAttributedBefore()
1137 if (T->getAttrKind() == AttributedType::attr_objc_kindof) in printAttributedBefore()
1143 switch (T->getAttrKind()) { in printAttributedBefore()
1154 if (T->getAttrKind() == AttributedType::attr_nonnull || in printAttributedBefore()
1155 T->getAttrKind() == AttributedType::attr_nullable || in printAttributedBefore()
1156 T->getAttrKind() == AttributedType::attr_null_unspecified) { in printAttributedBefore()
1157 if (T->getAttrKind() == AttributedType::attr_nonnull) in printAttributedBefore()
1159 else if (T->getAttrKind() == AttributedType::attr_nullable) in printAttributedBefore()
1161 else if (T->getAttrKind() == AttributedType::attr_null_unspecified) in printAttributedBefore()
[all …]
DTypeLoc.cpp370 if (attributedLoc.getAttrKind() == AttributedType::attr_nullable || in findNullabilityLoc()
371 attributedLoc.getAttrKind() == AttributedType::attr_nonnull || in findNullabilityLoc()
372 attributedLoc.getAttrKind() == AttributedType::attr_null_unspecified) in findNullabilityLoc()
DType.cpp523 if (attributed->getAttrKind() == in isObjCInertUnsafeUnretainedType()
941 return Ctx.getAttributedType(T->getAttrKind(), modifiedType, in TRIVIAL_TYPE_CLASS()
2970 switch (getAttrKind()) { in isQualifier()
3012 switch (getAttrKind()) { in isMSTypeSpec()
3024 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()
DASTImporter.cpp1788 return Importer.getToContext().getAttributedType(T->getAttrKind(), in VisitAttributedType()
DASTContext.cpp2265 AT->getAttrKind(), in getFunctionTypeWithExceptionSpec()
/external/clang/include/clang/AST/
DTypeLoc.h729 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()
DType.h3660 Kind getAttrKind() const {
3721 Profile(ID, getAttrKind(), ModifiedType, EquivalentType);
/external/clang/lib/Sema/
DAttributeList.cpp142 return ::getAttrKind(FullName, SyntaxUsed); in getKind()
DSemaType.cpp4498 AttributeList::Kind parsedKind = getAttrListKind(TL.getAttrKind()); in fillAttributedTypeLoc()
5042 if (attr->getAttrKind() == AttributedType::attr_objc_ownership) in hasDirectOwnershipQualifier()
5444 AttributedType::Kind CurAttrKind = AT->getAttrKind(); in handleMSPointerTypeQualifierAttr()
5870 if (AT && AT->getAttrKind() != CCAttrKind) { in handleFunctionTypeAttr()
DTreeTransform.h5591 result = SemaRef.Context.getAttributedType(oldType->getAttrKind(), in TransformAttributedType()
/external/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h81 static attr::Kind getAttrKind(llvm::StringRef AttrKind) {
90 getAttrKind(Value.getString()) != attr::Kind(-1);
93 return getAttrKind(Value.getString());
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp84 if (TL.getAttrKind() != AttributedType::attr_objc_ownership) in handleAttr()
DTransforms.cpp367 if (AttrT->getAttrKind() == AttributedType::attr_objc_ownership) in isGCOwnedNonObjC()
/external/clang/lib/StaticAnalyzer/Checkers/
DNullabilityChecker.cpp323 if (AttrType->getAttrKind() == AttributedType::attr_nullable) in getNullabilityAnnotation()
325 else if (AttrType->getAttrKind() == AttributedType::attr_nonnull) in getNullabilityAnnotation()
/external/clang/lib/Serialization/
DASTWriter.cpp311 Record.push_back(T->getAttrKind()); in VisitAttributedType()