Lines Matching refs:hasAttr
1263 OM->hasAttr<ObjCReturnsInnerPointerAttr>()) in migrateNsReturnsInnerPointer()
1434 if (Decl->hasAttr<CFAuditedTransferAttr>()) { in migrateCFAnnotation()
1497 if (AE == DecRef && !pd->hasAttr<CFConsumedAttr>() && in AddCFAnnotations()
1503 else if (AE == DecRefMsg && !pd->hasAttr<NSConsumedAttr>() && in AddCFAnnotations()
1521 bool FuncIsReturnAnnotated = (FuncDecl->hasAttr<CFReturnsRetainedAttr>() || in migrateAddFunctionAnnotation()
1522 FuncDecl->hasAttr<CFReturnsNotRetainedAttr>() || in migrateAddFunctionAnnotation()
1523 FuncDecl->hasAttr<NSReturnsRetainedAttr>() || in migrateAddFunctionAnnotation()
1524 FuncDecl->hasAttr<NSReturnsNotRetainedAttr>() || in migrateAddFunctionAnnotation()
1525 FuncDecl->hasAttr<NSReturnsAutoreleasedAttr>()); in migrateAddFunctionAnnotation()
1551 if (AE == DecRef && !pd->hasAttr<CFConsumedAttr>()) in migrateAddFunctionAnnotation()
1624 if (AE == DecRef && !pd->hasAttr<CFConsumedAttr>() && in AddCFAnnotations()
1640 bool MethodIsReturnAnnotated = (MethodDecl->hasAttr<CFReturnsRetainedAttr>() || in migrateAddMethodAnnotation()
1641 MethodDecl->hasAttr<CFReturnsNotRetainedAttr>() || in migrateAddMethodAnnotation()
1642 MethodDecl->hasAttr<NSReturnsRetainedAttr>() || in migrateAddMethodAnnotation()
1643 MethodDecl->hasAttr<NSReturnsNotRetainedAttr>() || in migrateAddMethodAnnotation()
1644 MethodDecl->hasAttr<NSReturnsAutoreleasedAttr>()); in migrateAddMethodAnnotation()
1647 !MethodDecl->hasAttr<NSConsumesSelfAttr>() && in migrateAddMethodAnnotation()
1680 if ((AE == DecRef && !pd->hasAttr<CFConsumedAttr>()) || AE == IncRef || in migrateAddMethodAnnotation()