Lines Matching refs:FD
1936 static bool isNonPlacementDeallocationFunction(Sema &S, FunctionDecl *FD) {
1937 if (FD->isInvalidDecl())
1940 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(FD))
1943 if (FD->getOverloadedOperator() != OO_Delete &&
1944 FD->getOverloadedOperator() != OO_Array_Delete)
1947 if (FD->getNumParams() == 1)
1950 return S.getLangOpts().SizedDeallocation && FD->getNumParams() == 2 &&
1951 S.Context.hasSameUnqualifiedType(FD->getParamDecl(1)->getType(),
3257 FunctionDecl *FD = ICS.UserDefined.ConversionFunction;
3260 assert(FD && "no conversion function for user-defined conversion seq");
3261 if (const CXXConversionDecl *Conv = dyn_cast<CXXConversionDecl>(FD)) {
3269 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(FD);
3294 CastKind, cast<CXXMethodDecl>(FD),