Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DPassByValueCheck.cpp137 const int ParamIdx = Param->getFunctionScopeIndex(); in hasRValueOverload()
183 unsigned ParamIdx = ParamDecl->getFunctionScopeIndex(); in collectParamDecls()
/llvm-project-15.0.7/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.cpp415 unsigned ParamDiagIdx = PVD->getFunctionScopeIndex() + 1; in checkPostCall()
H A DNullabilityChecker.cpp719 unsigned ParamIdx = Param->getFunctionScopeIndex() + 1; in checkPreCall()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DMoveConstArgCheck.cpp194 << (InvocationParm->getFunctionScopeIndex() + 1) << FunctionName in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DNonConstParameterCheck.cpp161 unsigned Index = Par->getFunctionScopeIndex(); in diagnoseNonConstParameters()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp573 AllParams[std::min<size_t>(Parm->getFunctionScopeIndex(), in findFunctionArgMutation()
H A DCalledOnceCheck.cpp1046 unsigned ParamIndex = Param->getFunctionScopeIndex(); in shouldBeCalledOnce()
H A DThreadSafetyCommon.cpp304 unsigned I = PV->getFunctionScopeIndex(); in translateDeclRefExpr()
/llvm-project-15.0.7/clang/lib/AST/
H A DMicrosoftMangle.cpp258 Func->getNumParams() - Parm->getFunctionScopeIndex(); in getLambdaString()
1059 Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleUnqualifiedName()
1219 F->getNumParams() - P->getFunctionScopeIndex(); in mangleNestedName()
H A DItaniumMangle.cpp181 Func->getNumParams() - Parm->getFunctionScopeIndex(); in getLambdaString()
1824 unsigned Num = Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleLocalName()
1856 unsigned Num = Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleLocalName()
5165 unsigned parmIndex = parm->getFunctionScopeIndex(); in mangleFunctionParam()
H A DStmtProfile.cpp116 ID.AddInteger(Parm->getFunctionScopeIndex()); in VisitDecl()
H A DASTImporter.cpp4290 ToParm->setObjCMethodScopeInfo(D->getFunctionScopeIndex()); in VisitParmVarDecl()
4294 D->getFunctionScopeIndex()); in VisitParmVarDecl()
H A DExprConstant.cpp504 return OrigCallee ? OrigCallee->getParamDecl(PVD->getFunctionScopeIndex()) in getOrigParam()
2081 unsigned Idx = PVD->getFunctionScopeIndex(); in NoteLValueLocation()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DFrontendActions.cpp532 OS << "unnamed function parameter " << Decl->getFunctionScopeIndex() in printEntryName()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp1365 unsigned Idx = Param->getFunctionScopeIndex() + 1; in showBRParamDiagnostics()
1479 InitE = Call->getArgExpr(Param->getFunctionScopeIndex()); in VisitNode()
H A DMemRegion.cpp956 unsigned Index = PVD->getFunctionScopeIndex(); in getVarRegion()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp328 if (FD->getNumParams() > PVD->getFunctionScopeIndex()) in instantiateOMPDeclareSimdDeclAttr()
330 PVD, FD->getParamDecl(PVD->getFunctionScopeIndex())); in instantiateOMPDeclareSimdDeclAttr()
409 if (FD->getNumParams() > PVD->getFunctionScopeIndex()) in instantiateOMPDeclareVariantAttr()
411 PVD, FD->getParamDecl(PVD->getFunctionScopeIndex())); in instantiateOMPDeclareVariantAttr()
H A DSemaTemplateInstantiate.cpp2500 OldParm->getFunctionScopeIndex() + indexAdjustment); in SubstParmVarDecl()
3602 unsigned i = PV->getFunctionScopeIndex(); in getCanonicalParmVarDecl()
H A DSemaOpenMP.cpp6804 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareSimdDirective()
6805 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareSimdDirective()
6832 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareSimdDirective()
6833 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareSimdDirective()
6903 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareSimdDirective()
6904 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareSimdDirective()
7621 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareVariantDirective()
7622 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareVariantDirective()
H A DTreeTransform.h5656 OldParm->getFunctionScopeIndex() + indexAdjustment); in TransformFunctionTypeParam()
5674 assert(OldParm->getFunctionScopeIndex() == i); in TransformFunctionTypeParams()
5883 assert(parm->getFunctionScopeIndex() == i); in TransformFunctionTypeParams()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.cpp2814 PVD->getFunctionScopeIndex()) && in EmitFunctionProlog()
4072 unsigned ArgNo = PVD ? PVD->getFunctionScopeIndex() : ParmNum; in EmitNonNullArgCheck()
H A DCGClass.cpp2260 OuterCtor->getParamDecl(Param->getFunctionScopeIndex())->getType(), in EmitInheritedCXXConstructorCall()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDecl.h1740 unsigned getFunctionScopeIndex() const { in getFunctionScopeIndex() function
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterDecl.cpp1102 Record.push_back(D->getFunctionScopeIndex()); in VisitParmVarDecl()

12