Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNonNullParamChecker.cpp78 unsigned ParameterIndex = Parameter->getFunctionScopeIndex(); in setBitsAccordingToParameterAttributes()
255 if (!ParameterNonNullMarks.test(Parameter->getFunctionScopeIndex())) in checkBeginFunction()
H A DNullabilityChecker.cpp805 unsigned ParamIdx = Param->getFunctionScopeIndex() + 1; in checkPreCall()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp696 AllParams[std::min<size_t>(Parm->getFunctionScopeIndex(), in findFunctionArgMutation()
H A DCalledOnceCheck.cpp1045 unsigned ParamIndex = Param->getFunctionScopeIndex(); in shouldBeCalledOnce()
H A DThreadSafetyCommon.cpp331 unsigned I = PV->getFunctionScopeIndex(); in translateDeclRefExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp263 Func->getNumParams() - Parm->getFunctionScopeIndex(); in getLambdaString()
1258 Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleUnqualifiedName()
1423 F->getNumParams() - P->getFunctionScopeIndex(); in mangleNestedName()
H A DItaniumMangle.cpp183 Func->getNumParams() - Parm->getFunctionScopeIndex(); in getLambdaString()
1928 unsigned Num = Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleLocalName()
1960 unsigned Num = Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleLocalName()
6012 unsigned parmIndex = parm->getFunctionScopeIndex(); in mangleFunctionParam()
H A DStmtProfile.cpp131 ID.AddInteger(Parm->getFunctionScopeIndex()); in VisitDecl()
H A DStmtPrinter.cpp1338 << PD->getFunctionScopeIndex(); in VisitDeclRefExpr()
H A DTextNodeDumper.cpp962 << PD->getFunctionScopeIndex(); in dumpBareDeclRef()
H A DASTImporter.cpp4989 ToParm->setObjCMethodScopeInfo(D->getFunctionScopeIndex()); in VisitParmVarDecl()
4993 D->getFunctionScopeIndex()); in VisitParmVarDecl()
H A DExprConstant.cpp531 return OrigCallee ? OrigCallee->getParamDecl(PVD->getFunctionScopeIndex()) in getOrigParam()
2295 unsigned Idx = PVD->getFunctionScopeIndex(); in NoteLValueLocation()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp526 OS << "unnamed function parameter " << Decl->getFunctionScopeIndex() in printEntryName()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeductionGuide.cpp677 OldParam->getFunctionScopeIndex()); in transformFunctionTypeParam()
H A DSemaTemplateInstantiateDecl.cpp349 if (FD->getNumParams() > PVD->getFunctionScopeIndex()) in instantiateOMPDeclareSimdDeclAttr()
351 PVD, FD->getParamDecl(PVD->getFunctionScopeIndex())); in instantiateOMPDeclareSimdDeclAttr()
430 if (FD->getNumParams() > PVD->getFunctionScopeIndex()) in instantiateOMPDeclareVariantAttr()
432 PVD, FD->getParamDecl(PVD->getFunctionScopeIndex())); in instantiateOMPDeclareVariantAttr()
H A DSemaTemplateInstantiate.cpp3377 OldParm->getFunctionScopeIndex() + indexAdjustment); in SubstParmVarDecl()
4578 unsigned i = PV->getFunctionScopeIndex(); in getCanonicalParmVarDecl()
H A DSemaOpenMP.cpp6742 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareSimdDirective()
6743 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareSimdDirective()
6770 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareSimdDirective()
6771 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareSimdDirective()
6841 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareSimdDirective()
6842 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareSimdDirective()
7597 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareVariantDirective()
7598 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareVariantDirective()
H A DTreeTransform.h6172 OldParm->getFunctionScopeIndex() + indexAdjustment); in TransformFunctionTypeParam()
6193 assert(OldParm->getFunctionScopeIndex() == i); in TransformFunctionTypeParams()
6404 assert(parm->getFunctionScopeIndex() == i); in TransformFunctionTypeParams()
H A DSemaChecking.cpp6396 if (PV->getFunctionScopeIndex() == CalleeFSI.FormatIdx) { in checkFormatStringExpr()
6423 if (PV->getFunctionScopeIndex() == CallerFSI.FormatIdx) { in checkFormatStringExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp1333 unsigned Idx = Param->getFunctionScopeIndex() + 1; in showBRParamDiagnostics()
1619 InitE = Call->getArgExpr(Param->getFunctionScopeIndex()); in VisitNode()
H A DMemRegion.cpp1045 unsigned Index = PVD->getFunctionScopeIndex(); in getVarRegion()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGClass.cpp2307 OuterCtor->getParamDecl(Param->getFunctionScopeIndex())->getType(), in EmitInheritedCXXConstructorCall()
H A DCGCall.cpp3200 PVD->getFunctionScopeIndex()) && in EmitFunctionProlog()
4537 unsigned ArgNo = PVD ? PVD->getFunctionScopeIndex() : ParmNum; in EmitNonNullArgCheck()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1829 unsigned getFunctionScopeIndex() const { in getFunctionScopeIndex() function
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp1379 Record.push_back(D->getFunctionScopeIndex()); in VisitParmVarDecl()

12