Lines Matching refs:OldParam
500 ParmVarDecl *OldParam = PrevForDefaultArgs->getParamDecl(p); in MergeCXXFunctionDecl() local
503 bool OldParamHasDfl = OldParam ? OldParam->hasDefaultArg() : false; in MergeCXXFunctionDecl()
518 if (OldParam->hasUninstantiatedDefaultArg()) in MergeCXXFunctionDecl()
520 OldParam->getUninstantiatedDefaultArg()); in MergeCXXFunctionDecl()
522 NewParam->setDefaultArg(OldParam->getInit()); in MergeCXXFunctionDecl()
542 OldParam->hasInheritedDefaultArg(); /**/) { in MergeCXXFunctionDecl()
544 OldParam = Older->getParamDecl(p); in MergeCXXFunctionDecl()
547 Diag(OldParam->getLocation(), diag::note_previous_definition) in MergeCXXFunctionDecl()
548 << OldParam->getDefaultArgRange(); in MergeCXXFunctionDecl()
554 if (OldParam->hasUnparsedDefaultArg()) in MergeCXXFunctionDecl()
556 else if (OldParam->hasUninstantiatedDefaultArg()) in MergeCXXFunctionDecl()
558 OldParam->getUninstantiatedDefaultArg()); in MergeCXXFunctionDecl()
560 NewParam->setDefaultArg(OldParam->getInit()); in MergeCXXFunctionDecl()