Lines Matching defs:NewParam
404 ParmVarDecl *NewParam = New->getParamDecl(p);
407 bool NewParamHasDfl = NewParam->hasDefaultArg();
427 NewParam->setHasInheritedDefaultArg();
429 NewParam->setUninstantiatedDefaultArg(
432 NewParam->setDefaultArg(OldParam->getInit());
440 // for NewParam to find the last source location in the type... but it
446 Diag(NewParam->getLocation(), DiagDefaultParamID)
447 << NewParam->getDefaultArgRange();
465 NewParam->setHasInheritedDefaultArg();
467 NewParam->setUninstantiatedDefaultArg(
470 NewParam->setDefaultArg(OldParam->getInit());
474 Diag(NewParam->getLocation(),
476 << NewParam->getDefaultArgRange();
491 Diag(NewParam->getLocation(), diag::err_template_spec_default_arg)
494 << NewParam->getDefaultArgRange();
516 Diag(NewParam->getLocation(),
519 << NewParam->getDefaultArgRange();
524 Diag(NewParam->getLocation(),diag::warn_default_arg_makes_ctor_special)
525 << NewParam->getDefaultArgRange() << NewSM;