Searched defs:NewParm (Results 1 - 4 of 4) sorted by relevance

/external/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1659 ParmVarDecl *NewParm = CheckParameter(Context.getTranslationUnitDecl(), local
1665 if (!NewParm)
1671 NewParm->setUninstantiatedDefaultArg(Arg);
1673 NewParm->setUnparsedDefaultArg();
1674 UnparsedDefaultArgInstantiations[OldParm].push_back(NewParm);
1686 SetParamDefaultArgument(NewParm, NewArg.get(), EqualLoc);
1692 NewParm->setUninstantiatedDefaultArg(Arg);
1696 NewParm->setHasInheritedDefaultArg(OldParm->hasInheritedDefaultArg());
1698 if (OldParm->isParameterPack() && !NewParm->isParameterPack()) {
1700 CurrentInstantiationScope->InstantiatedLocalPackArg(OldParm, NewParm);
[all...]
H A DSemaTemplate.cpp5706 TemplateParameterList::iterator NewParm = New->begin(); local
5713 if (NewParm == NewParmEnd) {
5721 if (!MatchTemplateParameterKind(*this, *NewParm, *OldParm, Complain,
5725 ++NewParm;
5736 for (; NewParm != NewParmEnd; ++NewParm) {
5737 if (!MatchTemplateParameterKind(*this, *NewParm, *OldParm, Complain,
5744 if (NewParm != NewParmEnd) {
H A DSemaDecl.cpp2519 ParmVarDecl *NewParm; member in struct:__anon1497::GNUCompatibleParamWarning
3109 ParmVarDecl *NewParm = New->getParamDecl(Idx); local
3112 ArgTypes.push_back(NewParm->getType());
3114 NewParm->getType(),
3116 GNUCompatibleParamWarning Warn = { OldParm, NewParm,
3119 ArgTypes.push_back(NewParm->getType());
3126 Diag(Warnings[Warn].NewParm->getLocation(),
H A DTreeTransform.h4606 ParmVarDecl *NewParm = nullptr; local
4639 ParmVarDecl *NewParm local
4644 if (!NewParm)
4647 OutParamTypes.push_back(NewParm->getType());
4649 PVars->push_back(NewParm);
4656 ParmVarDecl *NewParm local
4661 if (!NewParm)
4664 OutParamTypes.push_back(NewParm->getType());
4666 PVars->push_back(NewParm);
4682 NewParm
[all...]

Completed in 236 milliseconds