Home | History | Annotate | Download | only in Sema

Lines Matching refs:OldDecl

1657                                      const ParmVarDecl *oldDecl,
1659 if (!oldDecl->hasAttrs())
1669 i = oldDecl->specific_attr_begin<InheritableParamAttr>(),
1670 e = oldDecl->specific_attr_end<InheritableParamAttr>(); i != e; ++i) {
5719 NamedDecl *OldDecl = 0;
5722 OldDecl = Previous.getFoundDecl();
5724 switch (CheckOverload(S, NewFD, Previous, OldDecl,
5746 OverloadedDecl = OldDecl;
5758 // NewFD and OldDecl represent declarations that need to be
5760 if (MergeFunctionDecl(NewFD, OldDecl, S)) {
5766 Previous.addDecl(OldDecl);
5769 = dyn_cast<FunctionTemplateDecl>(OldDecl)) {
5790 NewFD->setAccess(OldDecl->getAccess());
5791 NewFD->setPreviousDeclaration(cast<FunctionDecl>(OldDecl));