Lines Matching defs:FD
60 static bool hasSameParameterTypes(const FunctionDecl &FD, const FunctionDecl &O,
62 if (FD.getNumParams() != O.getNumParams())
64 for (unsigned I = 0, E = FD.getNumParams(); I < E; ++I) {
65 const ParmVarDecl *DPD = FD.getParamDecl(I);
79 static const Decl *findRVRefOverload(const FunctionDecl &FD,
87 FD.getParent()->lookup(FD.getNameInfo().getName());
92 if (Overload == &FD)
95 if (hasSameParameterTypes(FD, *O, PD))
103 const auto *FD = Result.Nodes.getNodeAs<FunctionDecl>("func");
110 if (findRVRefOverload(*FD, *PD) != nullptr)