Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp781 ParmVarDecl *TransformFunctionTypeParam(ParmVarDecl *OldParm,
1197 TemplateInstantiator::TransformFunctionTypeParam(ParmVarDecl *OldParm, in TransformFunctionTypeParam() argument
1200 return SemaRef.SubstParmVarDecl(OldParm, TemplateArgs, indexAdjustment, in TransformFunctionTypeParam()
1452 ParmVarDecl *Sema::SubstParmVarDecl(ParmVarDecl *OldParm, in SubstParmVarDecl() argument
1456 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in SubstParmVarDecl()
1466 OldParm->getLocation(), OldParm->getDeclName()); in SubstParmVarDecl()
1478 NewDI = SubstType(OldDI, TemplateArgs, OldParm->getLocation(), in SubstParmVarDecl()
1479 OldParm->getDeclName()); in SubstParmVarDecl()
1486 Diag(OldParm->getLocation(), diag::err_param_with_void_type); in SubstParmVarDecl()
1491 OldParm->getInnerLocStart(), in SubstParmVarDecl()
[all …]
DTreeTransform.h531 ParmVarDecl *TransformFunctionTypeParam(ParmVarDecl *OldParm,
3753 TreeTransform<Derived>::TransformFunctionTypeParam(ParmVarDecl *OldParm, in TransformFunctionTypeParam() argument
3756 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in TransformFunctionTypeParam()
3790 return OldParm; in TransformFunctionTypeParam()
3793 OldParm->getDeclContext(), in TransformFunctionTypeParam()
3794 OldParm->getInnerLocStart(), in TransformFunctionTypeParam()
3795 OldParm->getLocation(), in TransformFunctionTypeParam()
3796 OldParm->getIdentifier(), in TransformFunctionTypeParam()
3799 OldParm->getStorageClass(), in TransformFunctionTypeParam()
3800 OldParm->getStorageClassAsWritten(), in TransformFunctionTypeParam()
[all …]
DSemaTemplate.cpp4337 for (TemplateParameterList::iterator OldParm = Old->begin(), in TemplateParameterListsAreEqual() local
4339 OldParm != OldParmEnd; ++OldParm) { in TemplateParameterListsAreEqual()
4341 !(*OldParm)->isTemplateParameterPack()) { in TemplateParameterListsAreEqual()
4350 if (!MatchTemplateParameterKind(*this, *NewParm, *OldParm, Complain, in TemplateParameterListsAreEqual()
4366 if (!MatchTemplateParameterKind(*this, *NewParm, *OldParm, Complain, in TemplateParameterListsAreEqual()
DSemaDecl.cpp1516 ParmVarDecl *OldParm; member
1852 ParmVarDecl *OldParm = Old->getParamDecl(Idx); in MergeFunctionDecl() local
1854 if (Context.typesAreCompatible(OldParm->getType(), in MergeFunctionDecl()
1857 } else if (Context.typesAreCompatible(OldParm->getType(), in MergeFunctionDecl()
1861 = { OldParm, NewParm, NewProto->getArgType(Idx) }; in MergeFunctionDecl()
1873 << Warnings[Warn].OldParm->getType(); in MergeFunctionDecl()
1874 if (Warnings[Warn].OldParm->getLocation().isValid()) in MergeFunctionDecl()
1875 Diag(Warnings[Warn].OldParm->getLocation(), in MergeFunctionDecl()