Lines Matching refs:NewParam
461 ParmVarDecl *NewParam = New->getParamDecl(p); in MergeCXXFunctionDecl() local
464 bool NewParamHasDfl = NewParam->hasDefaultArg(); in MergeCXXFunctionDecl()
497 NewParam->setHasInheritedDefaultArg(); in MergeCXXFunctionDecl()
499 NewParam->setUninstantiatedDefaultArg( in MergeCXXFunctionDecl()
502 NewParam->setDefaultArg(OldParam->getInit()); in MergeCXXFunctionDecl()
516 Diag(NewParam->getLocation(), DiagDefaultParamID) in MergeCXXFunctionDecl()
517 << NewParam->getDefaultArgRange(); in MergeCXXFunctionDecl()
532 NewParam->setHasInheritedDefaultArg(); in MergeCXXFunctionDecl()
534 NewParam->setUnparsedDefaultArg(); in MergeCXXFunctionDecl()
536 NewParam->setUninstantiatedDefaultArg( in MergeCXXFunctionDecl()
539 NewParam->setDefaultArg(OldParam->getInit()); in MergeCXXFunctionDecl()
543 Diag(NewParam->getLocation(), in MergeCXXFunctionDecl()
545 << NewParam->getDefaultArgRange(); in MergeCXXFunctionDecl()
560 Diag(NewParam->getLocation(), diag::err_template_spec_default_arg) in MergeCXXFunctionDecl()
563 << NewParam->getDefaultArgRange(); in MergeCXXFunctionDecl()
585 Diag(NewParam->getLocation(), in MergeCXXFunctionDecl()
588 << NewParam->getDefaultArgRange(); in MergeCXXFunctionDecl()
601 ParmVarDecl *NewParam = New->getParamDecl(New->getMinRequiredArguments()); in MergeCXXFunctionDecl() local
602 assert(NewParam->hasDefaultArg()); in MergeCXXFunctionDecl()
603 Diag(NewParam->getLocation(), diag::err_default_arg_makes_ctor_special) in MergeCXXFunctionDecl()
604 << NewParam->getDefaultArgRange() << NewSM; in MergeCXXFunctionDecl()