Searched refs:OldParm (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 817 ParmVarDecl *TransformFunctionTypeParam(ParmVarDecl *OldParm, 1274 TemplateInstantiator::TransformFunctionTypeParam(ParmVarDecl *OldParm, in TransformFunctionTypeParam() argument 1278 return SemaRef.SubstParmVarDecl(OldParm, TemplateArgs, indexAdjustment, in TransformFunctionTypeParam() 1539 ParmVarDecl *Sema::SubstParmVarDecl(ParmVarDecl *OldParm, in SubstParmVarDecl() argument 1544 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in SubstParmVarDecl() 1554 OldParm->getLocation(), OldParm->getDeclName()); in SubstParmVarDecl() 1569 Diag(OldParm->getLocation(), in SubstParmVarDecl() 1575 NewDI = SubstType(OldDI, TemplateArgs, OldParm->getLocation(), in SubstParmVarDecl() 1576 OldParm->getDeclName()); in SubstParmVarDecl() 1583 Diag(OldParm->getLocation(), diag::err_param_with_void_type); in SubstParmVarDecl() [all …]
|
D | TreeTransform.h | 564 ParmVarDecl *TransformFunctionTypeParam(ParmVarDecl *OldParm, 3909 TreeTransform<Derived>::TransformFunctionTypeParam(ParmVarDecl *OldParm, in TransformFunctionTypeParam() argument 3913 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in TransformFunctionTypeParam() 3948 return OldParm; in TransformFunctionTypeParam() 3951 OldParm->getDeclContext(), in TransformFunctionTypeParam() 3952 OldParm->getInnerLocStart(), in TransformFunctionTypeParam() 3953 OldParm->getLocation(), in TransformFunctionTypeParam() 3954 OldParm->getIdentifier(), in TransformFunctionTypeParam() 3957 OldParm->getStorageClass(), in TransformFunctionTypeParam() 3958 OldParm->getStorageClassAsWritten(), in TransformFunctionTypeParam() [all …]
|
D | SemaTemplate.cpp | 4828 for (TemplateParameterList::iterator OldParm = Old->begin(), in TemplateParameterListsAreEqual() local 4830 OldParm != OldParmEnd; ++OldParm) { in TemplateParameterListsAreEqual() 4832 !(*OldParm)->isTemplateParameterPack()) { in TemplateParameterListsAreEqual() 4841 if (!MatchTemplateParameterKind(*this, *NewParm, *OldParm, Complain, in TemplateParameterListsAreEqual() 4857 if (!MatchTemplateParameterKind(*this, *NewParm, *OldParm, Complain, in TemplateParameterListsAreEqual()
|
D | SemaDecl.cpp | 1887 ParmVarDecl *OldParm; member 2277 ParmVarDecl *OldParm = Old->getParamDecl(Idx); in MergeFunctionDecl() local 2279 if (Context.typesAreCompatible(OldParm->getType(), in MergeFunctionDecl() 2282 } else if (Context.typesAreCompatible(OldParm->getType(), in MergeFunctionDecl() 2286 = { OldParm, NewParm, NewProto->getArgType(Idx) }; in MergeFunctionDecl() 2298 << Warnings[Warn].OldParm->getType(); in MergeFunctionDecl() 2299 if (Warnings[Warn].OldParm->getLocation().isValid()) in MergeFunctionDecl() 2300 Diag(Warnings[Warn].OldParm->getLocation(), in MergeFunctionDecl()
|