Home
last modified time | relevance | path

Searched refs:NewParam (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp174 Value *NewParam; in INITIALIZE_PASS_DEPENDENCY() member
181 LI->setOperand(0, I.NewParam); in INITIALIZE_PASS_DEPENDENCY()
187 I.NewParam, Indices, in INITIALIZE_PASS_DEPENDENCY()
194 return BitCastInst::Create(BC->getOpcode(), I.NewParam, NewBCType, in INITIALIZE_PASS_DEPENDENCY()
201 return I.NewParam; in INITIALIZE_PASS_DEPENDENCY()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplate.cpp2351 if (!NewParam) in transformConstructor()
2364 NewParam = cast<NamedDecl>(Instantiator.Visit(NewParam)); in transformConstructor()
2508 auto *NewParam = in transformTemplateParameterImpl() local
2512 NewParam->setPosition(NewParam->getPosition() + Depth1IndexAdjustment); in transformTemplateParameterImpl()
2513 return NewParam; in transformTemplateParameterImpl()
2539 if (!NewParam) in transformFunctionProtoType()
2545 NewParam = in transformFunctionProtoType()
2547 if (!NewParam) in transformFunctionProtoType()
2642 return NewParam; in transformFunctionTypeParam()
2966 NewParam != NewParamEnd; ++NewParam) { in CheckTemplateParameterList()
[all …]
H A DSemaDeclCXX.cpp551 NewParam->setHasInheritedDefaultArg(); in MergeCXXFunctionDecl()
571 << NewParam->getDefaultArgRange(); in MergeCXXFunctionDecl()
592 NewParam->setHasInheritedDefaultArg(); in MergeCXXFunctionDecl()
594 NewParam->setUnparsedDefaultArg(); in MergeCXXFunctionDecl()
596 NewParam->setUninstantiatedDefaultArg( in MergeCXXFunctionDecl()
604 Diag(NewParam->getLocation(), in MergeCXXFunctionDecl()
606 << NewParam->getDefaultArgRange(); in MergeCXXFunctionDecl()
625 << NewParam->getDefaultArgRange(); in MergeCXXFunctionDecl()
647 Diag(NewParam->getLocation(), in MergeCXXFunctionDecl()
650 << NewParam->getDefaultArgRange(); in MergeCXXFunctionDecl()
[all …]
H A DSemaTemplateInstantiateDecl.cpp4487 ParmVarDecl *NewParam = NewProtoLoc.getParam(NewIdx++); in SubstFunctionType() local
4488 Params.push_back(NewParam); in SubstFunctionType()
4489 Scope->InstantiatedLocal(OldParam, NewParam); in SubstFunctionType()
4494 ParmVarDecl *NewParam = NewProtoLoc.getParam(NewIdx++); in SubstFunctionType() local
4495 Params.push_back(NewParam); in SubstFunctionType()
4496 Scope->InstantiatedLocalPackArg(OldParam, NewParam); in SubstFunctionType()
H A DSemaDecl.cpp3471 static void mergeParamDeclTypes(ParmVarDecl *NewParam, in mergeParamDeclTypes() argument
3475 if (auto Newnullability = NewParam->getType()->getNullability()) { in mergeParamDeclTypes()
3477 S.Diag(NewParam->getLocation(), diag::warn_mismatched_nullability_attr) in mergeParamDeclTypes()
3489 QualType NewT = NewParam->getType(); in mergeParamDeclTypes()
3493 NewParam->setType(NewT); in mergeParamDeclTypes()
3497 const auto *NewParamDT = dyn_cast<DecayedType>(NewParam->getType()); in mergeParamDeclTypes()
3503 S.Diag(NewParam->getLocation(), diag::warn_inconsistent_array_form) in mergeParamDeclTypes()
3504 << NewParam << NewParamOT; in mergeParamDeclTypes()
4404 ParmVarDecl *NewParam = New->getParamDecl(i); in MergeCompatibleFunctionDecls() local
4406 mergeParamDeclAttributes(NewParam, OldParam, *this); in MergeCompatibleFunctionDecls()
[all …]