Lines Matching refs:FuncDecl

69                         const FunctionDecl *FuncDecl, bool ResultAnnotated);
76 const FunctionDecl *FuncDecl);
1442 if (const FunctionDecl *FuncDecl = dyn_cast<FunctionDecl>(Decl)) { in migrateCFAnnotation() local
1443 CF_BRIDGING_KIND AuditKind = migrateAddFunctionAnnotation(Ctx, FuncDecl); in migrateCFAnnotation()
1467 const FunctionDecl *FuncDecl, in AddCFAnnotations() argument
1487 commit.insertAfterToken(FuncDecl->getLocEnd(), AnnotationString); in AddCFAnnotations()
1493 for (FunctionDecl::param_const_iterator pi = FuncDecl->param_begin(), in AddCFAnnotations()
1494 pe = FuncDecl->param_end(); pi != pe; ++pi, ++i) { in AddCFAnnotations()
1516 const FunctionDecl *FuncDecl) { in migrateAddFunctionAnnotation() argument
1517 if (FuncDecl->hasBody()) in migrateAddFunctionAnnotation()
1520 CallEffects CE = CallEffects::getEffect(FuncDecl); in migrateAddFunctionAnnotation()
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()
1528 if (FuncIsReturnAnnotated && FuncDecl->getNumParams() == 0) in migrateAddFunctionAnnotation()
1537 else if (!AuditedType(FuncDecl->getReturnType())) in migrateAddFunctionAnnotation()
1546 for (FunctionDecl::param_const_iterator pi = FuncDecl->param_begin(), in migrateAddFunctionAnnotation()
1547 pe = FuncDecl->param_end(); pi != pe; ++pi, ++i) { in migrateAddFunctionAnnotation()
1559 AddCFAnnotations(Ctx, CE, FuncDecl, FuncIsReturnAnnotated); in migrateAddFunctionAnnotation()