Home
last modified time | relevance | path

Searched refs:NewParam (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Sema/
DSemaTemplate.cpp1330 for (TemplateParameterList::iterator NewParam = NewParams->begin(), in CheckTemplateParameterList() local
1332 NewParam != NewParamEnd; ++NewParam) { in CheckTemplateParameterList()
1345 = dyn_cast<TemplateTypeParmDecl>(*NewParam)) { in CheckTemplateParameterList()
1379 = dyn_cast<NonTypeTemplateParmDecl>(*NewParam)) { in CheckTemplateParameterList()
1424 = cast<TemplateTemplateParmDecl>(*NewParam); in CheckTemplateParameterList()
1472 if (SawParameterPack && (NewParam + 1) != NewParamEnd && in CheckTemplateParameterList()
1475 Diag((*NewParam)->getLocation(), in CheckTemplateParameterList()
1493 Diag((*NewParam)->getLocation(), in CheckTemplateParameterList()
1509 for (TemplateParameterList::iterator NewParam = NewParams->begin(), in CheckTemplateParameterList() local
1511 NewParam != NewParamEnd; ++NewParam) { in CheckTemplateParameterList()
[all …]
DSemaDeclCXX.cpp501 ParmVarDecl *NewParam = New->getParamDecl(p); in MergeCXXFunctionDecl() local
504 bool NewParamHasDfl = NewParam->hasDefaultArg(); in MergeCXXFunctionDecl()
517 NewParam->setHasInheritedDefaultArg(); in MergeCXXFunctionDecl()
519 NewParam->setUninstantiatedDefaultArg( in MergeCXXFunctionDecl()
522 NewParam->setDefaultArg(OldParam->getInit()); in MergeCXXFunctionDecl()
536 Diag(NewParam->getLocation(), DiagDefaultParamID) in MergeCXXFunctionDecl()
537 << NewParam->getDefaultArgRange(); in MergeCXXFunctionDecl()
553 NewParam->setHasInheritedDefaultArg(); in MergeCXXFunctionDecl()
555 NewParam->setUnparsedDefaultArg(); in MergeCXXFunctionDecl()
557 NewParam->setUninstantiatedDefaultArg( in MergeCXXFunctionDecl()
[all …]
DSemaTemplateInstantiateDecl.cpp3230 ParmVarDecl *NewParam = NewProtoLoc.getParam(NewIdx++); in SubstFunctionType() local
3231 Params.push_back(NewParam); in SubstFunctionType()
3232 Scope->InstantiatedLocal(OldParam, NewParam); in SubstFunctionType()
3237 ParmVarDecl *NewParam = NewProtoLoc.getParam(NewIdx++); in SubstFunctionType() local
3238 Params.push_back(NewParam); in SubstFunctionType()
3239 Scope->InstantiatedLocalPackArg(OldParam, NewParam); in SubstFunctionType()
DSemaDecl.cpp2560 static void mergeParamDeclTypes(ParmVarDecl *NewParam, in mergeParamDeclTypes() argument
2564 if (auto Newnullability = NewParam->getType()->getNullability(S.Context)) { in mergeParamDeclTypes()
2566 S.Diag(NewParam->getLocation(), diag::warn_mismatched_nullability_attr) in mergeParamDeclTypes()
2569 ((NewParam->getObjCDeclQualifier() & Decl::OBJC_TQ_CSNullability) in mergeParamDeclTypes()
2578 QualType NewT = NewParam->getType(); in mergeParamDeclTypes()
2582 NewParam->setType(NewT); in mergeParamDeclTypes()
3280 ParmVarDecl *NewParam = New->getParamDecl(i); in MergeCompatibleFunctionDecls() local
3282 mergeParamDeclAttributes(NewParam, OldParam, *this); in MergeCompatibleFunctionDecls()
3283 mergeParamDeclTypes(NewParam, OldParam, *this); in MergeCompatibleFunctionDecls()