Home
last modified time | relevance | path

Searched refs:getFunctionScopeIndex (Results 1 – 24 of 24) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNonNullParamChecker.cpp77 unsigned ParameterIndex = Parameter->getFunctionScopeIndex(); in setBitsAccordingToParameterAttributes()
254 if (!ParameterNonNullMarks.test(Parameter->getFunctionScopeIndex())) in checkBeginFunction()
H A DFuchsiaHandleChecker.cpp419 unsigned ParamDiagIdx = PVD->getFunctionScopeIndex() + 1; in checkPostCall()
H A DNullabilityChecker.cpp719 unsigned ParamIdx = Param->getFunctionScopeIndex() + 1; in checkPreCall()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp561 AllParams[std::min<size_t>(Parm->getFunctionScopeIndex(), in findFunctionArgMutation()
H A DCalledOnceCheck.cpp1046 unsigned ParamIndex = Param->getFunctionScopeIndex(); in shouldBeCalledOnce()
H A DThreadSafetyCommon.cpp279 unsigned I = PV->getFunctionScopeIndex(); in translateDeclRefExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp244 Func->getNumParams() - Parm->getFunctionScopeIndex(); in getLambdaString()
1028 Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleUnqualifiedName()
1187 F->getNumParams() - P->getFunctionScopeIndex(); in mangleNestedName()
H A DItaniumMangle.cpp233 Func->getNumParams() - Parm->getFunctionScopeIndex(); in getLambdaString()
1776 unsigned Num = Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleLocalName()
1808 unsigned Num = Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleLocalName()
5085 unsigned parmIndex = parm->getFunctionScopeIndex(); in mangleFunctionParam()
H A DStmtProfile.cpp112 ID.AddInteger(Parm->getFunctionScopeIndex()); in VisitDecl()
H A DASTImporter.cpp4229 ToParm->setObjCMethodScopeInfo(D->getFunctionScopeIndex()); in VisitParmVarDecl()
4233 D->getFunctionScopeIndex()); in VisitParmVarDecl()
H A DExprConstant.cpp504 return OrigCallee ? OrigCallee->getParamDecl(PVD->getFunctionScopeIndex()) in getOrigParam()
2077 unsigned Idx = PVD->getFunctionScopeIndex(); in NoteLValueLocation()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp1312 unsigned Idx = Param->getFunctionScopeIndex() + 1; in showBRParamDiagnostics()
1426 InitE = Call->getArgExpr(Param->getFunctionScopeIndex()); in VisitNode()
H A DMemRegion.cpp924 unsigned Index = PVD->getFunctionScopeIndex(); in getVarRegion()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp306 if (FD->getNumParams() > PVD->getFunctionScopeIndex()) in instantiateOMPDeclareSimdDeclAttr()
308 PVD, FD->getParamDecl(PVD->getFunctionScopeIndex())); in instantiateOMPDeclareSimdDeclAttr()
387 if (FD->getNumParams() > PVD->getFunctionScopeIndex()) in instantiateOMPDeclareVariantAttr()
389 PVD, FD->getParamDecl(PVD->getFunctionScopeIndex())); in instantiateOMPDeclareVariantAttr()
H A DSemaTemplateInstantiate.cpp2455 OldParm->getFunctionScopeIndex() + indexAdjustment); in SubstParmVarDecl()
3556 unsigned i = PV->getFunctionScopeIndex(); in getCanonicalParmVarDecl()
H A DSemaOpenMP.cpp6383 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareSimdDirective()
6384 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareSimdDirective()
6411 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareSimdDirective()
6412 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareSimdDirective()
6482 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareSimdDirective()
6483 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareSimdDirective()
H A DTreeTransform.h5590 OldParm->getFunctionScopeIndex() + indexAdjustment); in TransformFunctionTypeParam()
5608 assert(OldParm->getFunctionScopeIndex() == i); in TransformFunctionTypeParams()
5817 assert(parm->getFunctionScopeIndex() == i); in TransformFunctionTypeParams()
H A DSemaTemplate.cpp2422 OldParam->getFunctionScopeIndex()); in transformFunctionTypeParam()
H A DSemaChecking.cpp7682 int PVIndex = PV->getFunctionScopeIndex() + 1; in checkFormatStringExpr()
H A DSemaDecl.cpp3050 FirstFD->getParamDecl(oldDecl->getFunctionScopeIndex()); in mergeParamDeclAttributes()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp2736 PVD->getFunctionScopeIndex()) && in EmitFunctionProlog()
3988 unsigned ArgNo = PVD ? PVD->getFunctionScopeIndex() : ParmNum; in EmitNonNullArgCheck()
H A DCGClass.cpp2232 OuterCtor->getParamDecl(Param->getFunctionScopeIndex())->getType(), in EmitInheritedCXXConstructorCall()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1720 unsigned getFunctionScopeIndex() const { in getFunctionScopeIndex() function
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp1092 Record.push_back(D->getFunctionScopeIndex()); in VisitParmVarDecl()