Searched refs:NewParm (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 1651 ParmVarDecl *NewParm = CheckParameter(Context.getTranslationUnitDecl(), in SubstParmVarDecl() local 1657 if (!NewParm) in SubstParmVarDecl() 1663 NewParm->setUninstantiatedDefaultArg(Arg); in SubstParmVarDecl() 1665 NewParm->setUnparsedDefaultArg(); in SubstParmVarDecl() 1666 UnparsedDefaultArgInstantiations[OldParm].push_back(NewParm); in SubstParmVarDecl() 1678 SetParamDefaultArgument(NewParm, NewArg.get(), EqualLoc); in SubstParmVarDecl() 1684 NewParm->setUninstantiatedDefaultArg(Arg); in SubstParmVarDecl() 1688 NewParm->setHasInheritedDefaultArg(OldParm->hasInheritedDefaultArg()); in SubstParmVarDecl() 1690 if (OldParm->isParameterPack() && !NewParm->isParameterPack()) { in SubstParmVarDecl() 1692 CurrentInstantiationScope->InstantiatedLocalPackArg(OldParm, NewParm); in SubstParmVarDecl() [all …]
|
D | TreeTransform.h | 4714 ParmVarDecl *NewParm = nullptr; in TransformFunctionTypeParams() local 4747 ParmVarDecl *NewParm in TransformFunctionTypeParams() local 4752 if (!NewParm) in TransformFunctionTypeParams() 4757 OutParamTypes.push_back(NewParm->getType()); in TransformFunctionTypeParams() 4759 PVars->push_back(NewParm); in TransformFunctionTypeParams() 4766 ParmVarDecl *NewParm in TransformFunctionTypeParams() local 4771 if (!NewParm) in TransformFunctionTypeParams() 4776 OutParamTypes.push_back(NewParm->getType()); in TransformFunctionTypeParams() 4778 PVars->push_back(NewParm); in TransformFunctionTypeParams() 4794 NewParm = getDerived().TransformFunctionTypeParam(OldParm, in TransformFunctionTypeParams() [all …]
|
D | SemaTemplate.cpp | 5750 TemplateParameterList::iterator NewParm = New->begin(); in TemplateParameterListsAreEqual() local 5757 if (NewParm == NewParmEnd) { in TemplateParameterListsAreEqual() 5765 if (!MatchTemplateParameterKind(*this, *NewParm, *OldParm, Complain, in TemplateParameterListsAreEqual() 5769 ++NewParm; in TemplateParameterListsAreEqual() 5780 for (; NewParm != NewParmEnd; ++NewParm) { in TemplateParameterListsAreEqual() 5781 if (!MatchTemplateParameterKind(*this, *NewParm, *OldParm, Complain, in TemplateParameterListsAreEqual() 5788 if (NewParm != NewParmEnd) { in TemplateParameterListsAreEqual()
|
D | SemaDecl.cpp | 2593 ParmVarDecl *NewParm; member 3183 ParmVarDecl *NewParm = New->getParamDecl(Idx); in MergeFunctionDecl() local 3186 ArgTypes.push_back(NewParm->getType()); in MergeFunctionDecl() 3188 NewParm->getType(), in MergeFunctionDecl() 3190 GNUCompatibleParamWarning Warn = { OldParm, NewParm, in MergeFunctionDecl() 3193 ArgTypes.push_back(NewParm->getType()); in MergeFunctionDecl() 3200 Diag(Warnings[Warn].NewParm->getLocation(), in MergeFunctionDecl()
|