Lines Matching refs:FD
1702 static bool isNonPlacementDeallocationFunction(Sema &S, FunctionDecl *FD) {
1703 if (FD->isInvalidDecl())
1706 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(FD))
1709 if (FD->getOverloadedOperator() != OO_Delete &&
1710 FD->getOverloadedOperator() != OO_Array_Delete)
1713 if (FD->getNumParams() == 1)
1716 return S.getLangOpts().SizedDeallocation && FD->getNumParams() == 2 &&
1717 S.Context.hasSameUnqualifiedType(FD->getParamDecl(1)->getType(),
2992 FunctionDecl *FD = ICS.UserDefined.ConversionFunction;
2995 assert(FD && "no conversion function for user-defined conversion seq");
2996 if (const CXXConversionDecl *Conv = dyn_cast<CXXConversionDecl>(FD)) {
3004 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(FD);
3029 CastKind, cast<CXXMethodDecl>(FD),