Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DTypePrinter.cpp1171 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 …]
DTypeLoc.cpp362 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()
DType.cpp523 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()
DASTImporter.cpp1893 return Importer.getToContext().getAttributedType(T->getAttrKind(), in VisitAttributedType()
DASTContext.cpp2274 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.h3830 Kind getAttrKind() const {
3891 Profile(ID, getAttrKind(), ModifiedType, EquivalentType);
/external/clang/lib/Sema/
DAttributeList.cpp142 return ::getAttrKind(FullName, SyntaxUsed); in getKind()
DSemaType.cpp4787 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()
DTreeTransform.h5756 result = SemaRef.Context.getAttributedType(oldType->getAttrKind(), in TransformAttributedType()
/external/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h80 static attr::Kind getAttrKind(llvm::StringRef AttrKind) {
89 getAttrKind(Value.getString()) != attr::Kind(-1);
92 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.cpp352 if (AttrType->getAttrKind() == AttributedType::attr_nullable) in getNullabilityAnnotation()
354 else if (AttrType->getAttrKind() == AttributedType::attr_nonnull) in getNullabilityAnnotation()
/external/clang/lib/Serialization/
DASTWriter.cpp341 Record.push_back(T->getAttrKind()); in VisitAttributedType()