Home | History | Annotate | Download | only in Sema

Lines Matching refs:NewParm

1723   ParmVarDecl *NewParm = CheckParameter(Context.getTranslationUnitDecl(),
1729 if (!NewParm)
1735 NewParm->setUninstantiatedDefaultArg(Arg);
1737 NewParm->setUnparsedDefaultArg();
1738 UnparsedDefaultArgInstantiations[OldParm].push_back(NewParm);
1743 NewParm->setUninstantiatedDefaultArg(Arg);
1745 NewParm->setHasInheritedDefaultArg(OldParm->hasInheritedDefaultArg());
1747 if (OldParm->isParameterPack() && !NewParm->isParameterPack()) {
1749 CurrentInstantiationScope->InstantiatedLocalPackArg(OldParm, NewParm);
1752 CurrentInstantiationScope->InstantiatedLocal(OldParm, NewParm);
1757 NewParm->setDeclContext(CurContext);
1759 NewParm->setScopeInfo(OldParm->getFunctionScopeDepth(),
1762 InstantiateAttrs(TemplateArgs, OldParm, NewParm);
1764 return NewParm;