Lines Matching refs:FD
136 if (FunctionDecl *FD = callE->getDirectCallee()) {
137 if (FD->hasAttr<CFReturnsRetainedAttr>()) {
141 if (FD->hasAttr<CFReturnsNotRetainedAttr>()) {
145 if (FD->isGlobal() &&
146 FD->getIdentifier() &&
148 FD->getIdentifier()->getName())) {
149 StringRef fname = FD->getIdentifier()->getName();
156 if (FD->getName() == "CFRetain" &&
157 FD->getNumParams() == 1 &&
158 FD->getParent()->isTranslationUnit() &&
159 FD->isExternallyVisible()) {
421 FD = dyn_cast_or_null<FunctionDecl>(callE->getCalleeDecl()))
422 if (FD->getName() == "CFRetain" && FD->getNumParams() == 1 &&
423 FD->getParent()->isTranslationUnit() &&
424 FD->isExternallyVisible())
434 FD = dyn_cast_or_null<FunctionDecl>(callE->getCalleeDecl())) {
441 if (i < callE->getNumArgs() && i < FD->getNumParams()) {
442 ParmVarDecl *PD = FD->getParamDecl(i);