Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNonNullParamChecker.cpp79 unsigned ParameterIndex = Parameter->getFunctionScopeIndex(); in setBitsAccordingToParameterAttributes()
256 if (!ParameterNonNullMarks.test(Parameter->getFunctionScopeIndex())) in checkBeginFunction()
H A DFuchsiaHandleChecker.cpp416 unsigned ParamDiagIdx = PVD->getFunctionScopeIndex() + 1; in checkPostCall()
H A DNullabilityChecker.cpp803 unsigned ParamIdx = Param->getFunctionScopeIndex() + 1; in checkPreCall()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp629 AllParams[std::min<size_t>(Parm->getFunctionScopeIndex(), in findFunctionArgMutation()
H A DCalledOnceCheck.cpp1046 unsigned ParamIndex = Param->getFunctionScopeIndex(); in shouldBeCalledOnce()
H A DThreadSafetyCommon.cpp314 unsigned I = PV->getFunctionScopeIndex(); in translateDeclRefExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp263 Func->getNumParams() - Parm->getFunctionScopeIndex(); in getLambdaString()
1121 Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleUnqualifiedName()
1286 F->getNumParams() - P->getFunctionScopeIndex(); in mangleNestedName()
H A DItaniumMangle.cpp186 Func->getNumParams() - Parm->getFunctionScopeIndex(); in getLambdaString()
1895 unsigned Num = Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleLocalName()
1927 unsigned Num = Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleLocalName()
5711 unsigned parmIndex = parm->getFunctionScopeIndex(); in mangleFunctionParam()
H A DStmtProfile.cpp131 ID.AddInteger(Parm->getFunctionScopeIndex()); in VisitDecl()
H A DASTImporter.cpp4628 ToParm->setObjCMethodScopeInfo(D->getFunctionScopeIndex()); in VisitParmVarDecl()
4632 D->getFunctionScopeIndex()); in VisitParmVarDecl()
H A DExprConstant.cpp507 return OrigCallee ? OrigCallee->getParamDecl(PVD->getFunctionScopeIndex()) in getOrigParam()
2160 unsigned Idx = PVD->getFunctionScopeIndex(); in NoteLValueLocation()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp478 OS << "unnamed function parameter " << Decl->getFunctionScopeIndex() in printEntryName()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp341 if (FD->getNumParams() > PVD->getFunctionScopeIndex()) in instantiateOMPDeclareSimdDeclAttr()
343 PVD, FD->getParamDecl(PVD->getFunctionScopeIndex())); in instantiateOMPDeclareSimdDeclAttr()
422 if (FD->getNumParams() > PVD->getFunctionScopeIndex()) in instantiateOMPDeclareVariantAttr()
424 PVD, FD->getParamDecl(PVD->getFunctionScopeIndex())); in instantiateOMPDeclareVariantAttr()
H A DSemaTemplateInstantiate.cpp2996 OldParm->getFunctionScopeIndex() + indexAdjustment); in SubstParmVarDecl()
4199 unsigned i = PV->getFunctionScopeIndex(); in getCanonicalParmVarDecl()
H A DSemaOpenMP.cpp7034 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareSimdDirective()
7035 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareSimdDirective()
7062 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareSimdDirective()
7063 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareSimdDirective()
7133 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareSimdDirective()
7134 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareSimdDirective()
7857 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareVariantDirective()
7858 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareVariantDirective()
H A DTreeTransform.h5848 OldParm->getFunctionScopeIndex() + indexAdjustment); in TransformFunctionTypeParam()
5869 assert(OldParm->getFunctionScopeIndex() == i); in TransformFunctionTypeParams()
6080 assert(parm->getFunctionScopeIndex() == i); in TransformFunctionTypeParams()
H A DSemaTemplate.cpp2640 OldParam->getFunctionScopeIndex()); in transformFunctionTypeParam()
H A DSemaDecl.cpp3385 FirstFD->getParamDecl(oldDecl->getFunctionScopeIndex()); in mergeParamDeclAttributes()
H A DSemaChecking.cpp10642 if (PV->getFunctionScopeIndex() == CallerFSI.FormatIdx && in checkFormatStringExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp1390 unsigned Idx = Param->getFunctionScopeIndex() + 1; in showBRParamDiagnostics()
1663 InitE = Call->getArgExpr(Param->getFunctionScopeIndex()); in VisitNode()
H A DMemRegion.cpp987 unsigned Index = PVD->getFunctionScopeIndex(); in getVarRegion()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp3076 PVD->getFunctionScopeIndex()) && in EmitFunctionProlog()
4352 unsigned ArgNo = PVD ? PVD->getFunctionScopeIndex() : ParmNum; in EmitNonNullArgCheck()
H A DCGClass.cpp2291 OuterCtor->getParamDecl(Param->getFunctionScopeIndex())->getType(), in EmitInheritedCXXConstructorCall()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1809 unsigned getFunctionScopeIndex() const { in getFunctionScopeIndex() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp1177 Record.push_back(D->getFunctionScopeIndex()); in VisitParmVarDecl()