Lines Matching refs:hasAttr
1275 OM->hasAttr<ObjCReturnsInnerPointerAttr>()) in migrateNsReturnsInnerPointer()
1446 if (Decl->hasAttr<CFAuditedTransferAttr>()) { in migrateCFAnnotation()
1511 if (AE == DecRef && !pd->hasAttr<CFConsumedAttr>() && in AddCFAnnotations()
1517 else if (AE == DecRefMsg && !pd->hasAttr<NSConsumedAttr>() && in AddCFAnnotations()
1535 bool FuncIsReturnAnnotated = (FuncDecl->hasAttr<CFReturnsRetainedAttr>() || in migrateAddFunctionAnnotation()
1536 FuncDecl->hasAttr<CFReturnsNotRetainedAttr>() || in migrateAddFunctionAnnotation()
1537 FuncDecl->hasAttr<NSReturnsRetainedAttr>() || in migrateAddFunctionAnnotation()
1538 FuncDecl->hasAttr<NSReturnsNotRetainedAttr>() || in migrateAddFunctionAnnotation()
1539 FuncDecl->hasAttr<NSReturnsAutoreleasedAttr>()); in migrateAddFunctionAnnotation()
1565 if (AE == DecRef && !pd->hasAttr<CFConsumedAttr>()) in migrateAddFunctionAnnotation()
1640 if (AE == DecRef && !pd->hasAttr<CFConsumedAttr>() && in AddCFAnnotations()
1656 bool MethodIsReturnAnnotated = (MethodDecl->hasAttr<CFReturnsRetainedAttr>() || in migrateAddMethodAnnotation()
1657 MethodDecl->hasAttr<CFReturnsNotRetainedAttr>() || in migrateAddMethodAnnotation()
1658 MethodDecl->hasAttr<NSReturnsRetainedAttr>() || in migrateAddMethodAnnotation()
1659 MethodDecl->hasAttr<NSReturnsNotRetainedAttr>() || in migrateAddMethodAnnotation()
1660 MethodDecl->hasAttr<NSReturnsAutoreleasedAttr>()); in migrateAddMethodAnnotation()
1663 !MethodDecl->hasAttr<NSConsumesSelfAttr>() && in migrateAddMethodAnnotation()
1696 if ((AE == DecRef && !pd->hasAttr<CFConsumedAttr>()) || AE == IncRef || in migrateAddMethodAnnotation()