Searched refs:OldParm (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 798 ParmVarDecl *TransformFunctionTypeParam(ParmVarDecl *OldParm, 1328 TemplateInstantiator::TransformFunctionTypeParam(ParmVarDecl *OldParm, in TransformFunctionTypeParam() argument 1332 return SemaRef.SubstParmVarDecl(OldParm, TemplateArgs, indexAdjustment, in TransformFunctionTypeParam() 1594 ParmVarDecl *Sema::SubstParmVarDecl(ParmVarDecl *OldParm, in SubstParmVarDecl() argument 1599 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in SubstParmVarDecl() 1608 OldParm->getLocation(), OldParm->getDeclName()); in SubstParmVarDecl() 1623 Diag(OldParm->getLocation(), in SubstParmVarDecl() 1629 NewDI = SubstType(OldDI, TemplateArgs, OldParm->getLocation(), in SubstParmVarDecl() 1630 OldParm->getDeclName()); in SubstParmVarDecl() 1637 Diag(OldParm->getLocation(), diag::err_param_with_void_type); in SubstParmVarDecl() [all …]
|
D | TreeTransform.h | 586 ParmVarDecl *TransformFunctionTypeParam(ParmVarDecl *OldParm, 4226 ParmVarDecl *OldParm, int indexAdjustment, Optional<unsigned> NumExpansions, in TransformFunctionTypeParam() argument 4228 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in TransformFunctionTypeParam() 4263 return OldParm; in TransformFunctionTypeParam() 4266 OldParm->getDeclContext(), in TransformFunctionTypeParam() 4267 OldParm->getInnerLocStart(), in TransformFunctionTypeParam() 4268 OldParm->getLocation(), in TransformFunctionTypeParam() 4269 OldParm->getIdentifier(), in TransformFunctionTypeParam() 4272 OldParm->getStorageClass(), in TransformFunctionTypeParam() 4274 newParm->setScopeInfo(OldParm->getFunctionScopeDepth(), in TransformFunctionTypeParam() [all …]
|
D | SemaTemplate.cpp | 5507 for (TemplateParameterList::iterator OldParm = Old->begin(), in TemplateParameterListsAreEqual() local 5509 OldParm != OldParmEnd; ++OldParm) { in TemplateParameterListsAreEqual() 5511 !(*OldParm)->isTemplateParameterPack()) { in TemplateParameterListsAreEqual() 5520 if (!MatchTemplateParameterKind(*this, *NewParm, *OldParm, Complain, in TemplateParameterListsAreEqual() 5536 if (!MatchTemplateParameterKind(*this, *NewParm, *OldParm, Complain, in TemplateParameterListsAreEqual()
|
D | SemaDecl.cpp | 2300 ParmVarDecl *OldParm; member 2833 ParmVarDecl *OldParm = Old->getParamDecl(Idx); in MergeFunctionDecl() local 2835 if (Context.typesAreCompatible(OldParm->getType(), in MergeFunctionDecl() 2838 } else if (Context.typesAreCompatible(OldParm->getType(), in MergeFunctionDecl() 2841 GNUCompatibleParamWarning Warn = { OldParm, NewParm, in MergeFunctionDecl() 2854 << Warnings[Warn].OldParm->getType(); in MergeFunctionDecl() 2855 if (Warnings[Warn].OldParm->getLocation().isValid()) in MergeFunctionDecl() 2856 Diag(Warnings[Warn].OldParm->getLocation(), in MergeFunctionDecl()
|