| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | PassByValueCheck.cpp | 137 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 D | NonNullParamChecker.cpp | 77 unsigned ParameterIndex = Parameter->getFunctionScopeIndex(); in setBitsAccordingToParameterAttributes() 254 if (!ParameterNonNullMarks.test(Parameter->getFunctionScopeIndex())) in checkBeginFunction()
|
| H A D | FuchsiaHandleChecker.cpp | 415 unsigned ParamDiagIdx = PVD->getFunctionScopeIndex() + 1; in checkPostCall()
|
| H A D | NullabilityChecker.cpp | 719 unsigned ParamIdx = Param->getFunctionScopeIndex() + 1; in checkPreCall()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | MoveConstArgCheck.cpp | 194 << (InvocationParm->getFunctionScopeIndex() + 1) << FunctionName in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | NonConstParameterCheck.cpp | 161 unsigned Index = Par->getFunctionScopeIndex(); in diagnoseNonConstParameters()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 573 AllParams[std::min<size_t>(Parm->getFunctionScopeIndex(), in findFunctionArgMutation()
|
| H A D | CalledOnceCheck.cpp | 1046 unsigned ParamIndex = Param->getFunctionScopeIndex(); in shouldBeCalledOnce()
|
| H A D | ThreadSafetyCommon.cpp | 304 unsigned I = PV->getFunctionScopeIndex(); in translateDeclRefExpr()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | MicrosoftMangle.cpp | 258 Func->getNumParams() - Parm->getFunctionScopeIndex(); in getLambdaString() 1059 Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleUnqualifiedName() 1219 F->getNumParams() - P->getFunctionScopeIndex(); in mangleNestedName()
|
| H A D | ItaniumMangle.cpp | 181 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 D | StmtProfile.cpp | 116 ID.AddInteger(Parm->getFunctionScopeIndex()); in VisitDecl()
|
| H A D | ASTImporter.cpp | 4290 ToParm->setObjCMethodScopeInfo(D->getFunctionScopeIndex()); in VisitParmVarDecl() 4294 D->getFunctionScopeIndex()); in VisitParmVarDecl()
|
| H A D | ExprConstant.cpp | 504 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 D | FrontendActions.cpp | 532 OS << "unnamed function parameter " << Decl->getFunctionScopeIndex() in printEntryName()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporterVisitors.cpp | 1365 unsigned Idx = Param->getFunctionScopeIndex() + 1; in showBRParamDiagnostics() 1479 InitE = Call->getArgExpr(Param->getFunctionScopeIndex()); in VisitNode()
|
| H A D | MemRegion.cpp | 956 unsigned Index = PVD->getFunctionScopeIndex(); in getVarRegion()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 328 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 D | SemaTemplateInstantiate.cpp | 2500 OldParm->getFunctionScopeIndex() + indexAdjustment); in SubstParmVarDecl() 3602 unsigned i = PV->getFunctionScopeIndex(); in getCanonicalParmVarDecl()
|
| H A D | SemaOpenMP.cpp | 6804 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 D | TreeTransform.h | 5656 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 D | CGCall.cpp | 2814 PVD->getFunctionScopeIndex()) && in EmitFunctionProlog() 4072 unsigned ArgNo = PVD ? PVD->getFunctionScopeIndex() : ParmNum; in EmitNonNullArgCheck()
|
| H A D | CGClass.cpp | 2260 OuterCtor->getParamDecl(Param->getFunctionScopeIndex())->getType(), in EmitInheritedCXXConstructorCall()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Decl.h | 1740 unsigned getFunctionScopeIndex() const { in getFunctionScopeIndex() function
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 1102 Record.push_back(D->getFunctionScopeIndex()); in VisitParmVarDecl()
|