Home | History | Annotate | Download | only in Sema

Lines Matching refs:oldDecl

1532 static void mergeDeclAttributes(Decl *newDecl, const Decl *oldDecl,
1534 if (!oldDecl->hasAttrs())
1544 i = oldDecl->specific_attr_begin<InheritableAttr>(),
1545 e = oldDecl->specific_attr_end<InheritableAttr>(); i != e; ++i) {
1567 const ParmVarDecl *oldDecl,
1569 if (!oldDecl->hasAttrs())
1579 i = oldDecl->specific_attr_begin<InheritableParamAttr>(),
1580 e = oldDecl->specific_attr_end<InheritableParamAttr>(); i != e; ++i) {
5468 NamedDecl *OldDecl = 0;
5471 OldDecl = Previous.getFoundDecl();
5473 switch (CheckOverload(S, NewFD, Previous, OldDecl,
5495 OverloadedDecl = OldDecl;
5507 // NewFD and OldDecl represent declarations that need to be
5509 if (MergeFunctionDecl(NewFD, OldDecl)) {
5515 Previous.addDecl(OldDecl);
5518 = dyn_cast<FunctionTemplateDecl>(OldDecl)) {
5542 NewFD->setAccess(OldDecl->getAccess());
5543 NewFD->setPreviousDeclaration(cast<FunctionDecl>(OldDecl));