Searched refs:OldParm (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 804 ParmVarDecl *TransformFunctionTypeParam(ParmVarDecl *OldParm, 1317 TemplateInstantiator::TransformFunctionTypeParam(ParmVarDecl *OldParm, in TransformFunctionTypeParam() argument 1321 return SemaRef.SubstParmVarDecl(OldParm, TemplateArgs, indexAdjustment, in TransformFunctionTypeParam() 1612 ParmVarDecl *Sema::SubstParmVarDecl(ParmVarDecl *OldParm, in SubstParmVarDecl() argument 1617 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in SubstParmVarDecl() 1626 OldParm->getLocation(), OldParm->getDeclName()); in SubstParmVarDecl() 1641 Diag(OldParm->getLocation(), in SubstParmVarDecl() 1647 NewDI = SubstType(OldDI, TemplateArgs, OldParm->getLocation(), in SubstParmVarDecl() 1648 OldParm->getDeclName()); in SubstParmVarDecl() 1655 Diag(OldParm->getLocation(), diag::err_param_with_void_type); in SubstParmVarDecl() [all …]
|
D | TreeTransform.h | 618 ParmVarDecl *TransformFunctionTypeParam(ParmVarDecl *OldParm, 4539 ParmVarDecl *OldParm, int indexAdjustment, Optional<unsigned> NumExpansions, in TransformFunctionTypeParam() argument 4541 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in TransformFunctionTypeParam() 4576 return OldParm; in TransformFunctionTypeParam() 4579 OldParm->getDeclContext(), in TransformFunctionTypeParam() 4580 OldParm->getInnerLocStart(), in TransformFunctionTypeParam() 4581 OldParm->getLocation(), in TransformFunctionTypeParam() 4582 OldParm->getIdentifier(), in TransformFunctionTypeParam() 4585 OldParm->getStorageClass(), in TransformFunctionTypeParam() 4587 newParm->setScopeInfo(OldParm->getFunctionScopeDepth(), in TransformFunctionTypeParam() [all …]
|
D | SemaTemplate.cpp | 5708 for (TemplateParameterList::iterator OldParm = Old->begin(), in TemplateParameterListsAreEqual() local 5710 OldParm != OldParmEnd; ++OldParm) { in TemplateParameterListsAreEqual() 5712 !(*OldParm)->isTemplateParameterPack()) { in TemplateParameterListsAreEqual() 5721 if (!MatchTemplateParameterKind(*this, *NewParm, *OldParm, Complain, in TemplateParameterListsAreEqual() 5737 if (!MatchTemplateParameterKind(*this, *NewParm, *OldParm, Complain, in TemplateParameterListsAreEqual()
|
D | SemaDecl.cpp | 2518 ParmVarDecl *OldParm; member 3108 ParmVarDecl *OldParm = Old->getParamDecl(Idx); in MergeFunctionDecl() local 3110 if (Context.typesAreCompatible(OldParm->getType(), in MergeFunctionDecl() 3113 } else if (Context.typesAreCompatible(OldParm->getType(), in MergeFunctionDecl() 3116 GNUCompatibleParamWarning Warn = { OldParm, NewParm, in MergeFunctionDecl() 3129 << Warnings[Warn].OldParm->getType(); in MergeFunctionDecl() 3130 if (Warnings[Warn].OldParm->getLocation().isValid()) in MergeFunctionDecl() 3131 Diag(Warnings[Warn].OldParm->getLocation(), in MergeFunctionDecl()
|