/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CXXSelfAssignmentChecker.cpp | 51 auto Param = SVB.makeLoc(State->getRegion(MD->getParamDecl(0), LCtx)); in checkBeginFunction() 59 Out << "Assuming " << MD->getParamDecl(0)->getName() << " == *this"; in checkBeginFunction() 69 Out << "Assuming " << MD->getParamDecl(0)->getName() << " != *this"; in checkBeginFunction()
|
H A D | BuiltinFunctionChecker.cpp | 63 if (QualType ParmTy = FD->getParamDecl(0)->getType(); in isBuiltinLikeFunction()
|
H A D | InnerPointerChecker.cpp | 158 QualType ParamTy = FD->getParamDecl(I)->getType(); in checkFunctionArguments()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Attr.h | 75 return FD->getParamDecl(Idx); in getFunctionOrMethodParam() 77 return MD->getParamDecl(Idx); in getFunctionOrMethodParam() 79 return BD->getParamDecl(Idx); in getFunctionOrMethodParam() 87 return BD->getParamDecl(Idx)->getType(); in getFunctionOrMethodParamType()
|
H A D | CodeCompleteConsumer.h | 1150 const NamedDecl *getParamDecl(unsigned N) const;
|
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
H A D | DeclarationFragments.cpp | 723 getFragmentsForType(Func->getParamDecl(i)->getType(), in getFragmentsForFunction() 724 Func->getParamDecl(i)->getASTContext(), After)); in getFragmentsForFunction() 735 Fragments.append(getFragmentsForParam(Func->getParamDecl(i))); in getFragmentsForFunction() 857 Fragments.append(getFragmentsForParam(Method->getParamDecl(i))); in getFragmentsForSpecialCXXMethod() 893 Fragments.append(getFragmentsForParam(Method->getParamDecl(i))); in getFragmentsForCXXMethod() 927 Fragments.append(getFragmentsForParam(ConversionFunction->getParamDecl(i))); in getFragmentsForConversionFunction() 956 Fragments.append(getFragmentsForParam(Method->getParamDecl(i))); in getFragmentsForOverloadedOperator() 1439 const ParmVarDecl *Param = Method->getParamDecl(i); in getFragmentsForObjCMethod()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | CheckExprLifetime.cpp | 309 const auto *RD = FD->getParamDecl(0)->getType()->getPointeeCXXRecordDecl(); in shouldTrackFirstArgument() 385 VisitPointerArg(Ctor->getParamDecl(0), CCE->getArgs()[0], true); in handleGslAnnotatedTypes() 417 LHST = MD->getParamDecl(0)->getType(); in implicitObjectParamIsLifetimeBound() 486 if (CheckCoroCall || Callee->getParamDecl(I)->hasAttr<LifetimeBoundAttr>()) in visitLifetimeBoundArguments() 487 VisitLifetimeBoundArg(Callee->getParamDecl(I), Args[I]); in visitLifetimeBoundArguments()
|
H A D | CodeCompleteConsumer.cpp | 590 CodeCompleteConsumer::OverloadCandidate::getParamDecl(unsigned N) const { in getParamDecl() function in CodeCompleteConsumer::OverloadCandidate 613 return FD->getParamDecl(N); in getParamDecl()
|
H A D | SemaDeclCXX.cpp | 520 ParmVarDecl *OldParam = PrevForDefaultArgs->getParamDecl(p); in MergeCXXFunctionDecl() 521 ParmVarDecl *NewParam = New->getParamDecl(p); in MergeCXXFunctionDecl() 564 OldParam = Older->getParamDecl(p); in MergeCXXFunctionDecl() 649 ParmVarDecl *NewParam = New->getParamDecl(New->getMinRequiredArguments()); in MergeCXXFunctionDecl() 1647 ParmVarDecl *Param = FD->getParamDecl(ParamIdx); in CheckCXXDefaultArguments() 1658 ParmVarDecl *Param = FD->getParamDecl(ParamIdx); in CheckCXXDefaultArguments() 1739 const ParmVarDecl *PD = FD->getParamDecl(ArgIndex); in CheckConstexprParameterTypes() 4807 ParmVarDecl *Param = Constructor->getParamDecl(0); in BuildImplicitBaseInitializer() 4877 ParmVarDecl *Param = Constructor->getParamDecl(0); in BuildImplicitMemberInitializer() 7848 FD->getParamDecl(0)->getType().getNonReferenceType(); in visit() [all …]
|
H A D | SemaOverload.cpp | 999 if (!Ctx.hasSameUnqualifiedType(X->getParamDecl(I)->getType(), in FunctionsCorrespond() 1000 Y->getParamDecl(I)->getType())) in FunctionsCorrespond() 1078 !S.Context.hasSameUnqualifiedType(FD->getParamDecl(0)->getType(), in shouldAddReversed() 1079 FD->getParamDecl(1)->getType()) || in shouldAddReversed() 6359 !Fun->getParamDecl(0)->getType()->isRValueReferenceType()); in GetExplicitObjectExpr() 6368 InitializedEntity::InitializeParameter(S.Context, Fun->getParamDecl(0)), in InitializeExplicitObjectArgument() 6919 Constructor->getParamDecl(0)->getType()->isReferenceType()) { in AddOverloadCandidate() 6920 QualType P = Constructor->getParamDecl(0)->getType()->getPointeeType(); in AddOverloadCandidate() 7160 S.Context, Function->getParamDecl(I)), in convertArgsForAvailabilityChecks() 7175 ParmVarDecl *P = Function->getParamDecl(i); in convertArgsForAvailabilityChecks() [all …]
|
H A D | SemaOpenCL.cpp | 125 ErrorLoc = BD->getParamDecl(ArgCounter)->getBeginLoc(); in checkBlockArgs()
|
H A D | SemaLambda.cpp | 402 ParmVarDecl *Param = Method->getParamDecl(0); in DiagnoseInvalidExplicitObjectParameterInLambda() 1736 ParmVarDecl *From = CallOperator->getParamDecl(I); in addFunctionPointerConversion() 2319 ParmVarDecl *From = CallOperator->getParamDecl(I); in BuildBlockForLambdaConversion()
|
H A D | SemaTemplateDeductionGuide.cpp | 1215 const auto *P = DG->getParamDecl(I); in DeclareImplicitDeductionGuidesForTypeAlias() 1219 DG->getParamDecl(I)->getBeginLoc(), P->getLocation(), nullptr, in DeclareImplicitDeductionGuidesForTypeAlias()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CalledOnceCheck.cpp | 661 TrackedParams.push_back(Function->getParamDecl(Index)); in findParamsToTrack() 1058 return shouldBeCalledOnce(Block->getParamDecl(ParamIndex)); in shouldBeCalledOnce() 1072 return shouldBeCalledOnce(Function->getParamDecl(ParamIndex)) || in shouldBeCalledOnce() 1089 const ParmVarDecl *Parameter = Method->getParamDecl(ParamIndex); in shouldBeCalledOnce()
|
H A D | IssueHash.cpp | 52 Signature.append(Target->getParamDecl(i)->getType().getAsString()); in GetSignature()
|
H A D | ThreadSafetyCommon.cpp | 335 ? cast<FunctionDecl>(D)->getCanonicalDecl()->getParamDecl(I) in translateDeclRefExpr() 336 : cast<ObjCMethodDecl>(D)->getCanonicalDecl()->getParamDecl(I); in translateDeclRefExpr()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCUDANV.cpp | 372 ParmVarDecl *GridDimParam = cudaLaunchKernelFD->getParamDecl(1); in emitDeviceStubBodyNew() 400 cudaLaunchKernelFD->getParamDecl(0)->getType()); in emitDeviceStubBodyNew() 404 cudaLaunchKernelFD->getParamDecl(3)->getType()); in emitDeviceStubBodyNew() 406 cudaLaunchKernelFD->getParamDecl(4)->getType()); in emitDeviceStubBodyNew() 408 cudaLaunchKernelFD->getParamDecl(5)->getType()); in emitDeviceStubBodyNew()
|
H A D | CGHLSLRuntime.cpp | 389 const ParmVarDecl *PD = FD->getParamDecl(Param.getArgNo() - SRetOffset); in emitEntryFunction()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ODRDiagsEmitter.cpp | 107 const ParmVarDecl *FirstParam = FirstMethod->getParamDecl(I); in diagnoseSubMismatchMethodParameters() 108 const ParmVarDecl *SecondParam = SecondMethod->getParamDecl(I); in diagnoseSubMismatchMethodParameters() 1157 const ParmVarDecl *FirstParam = FirstMethod->getParamDecl(I); in diagnoseMismatch() 1158 const ParmVarDecl *SecondParam = SecondMethod->getParamDecl(I); in diagnoseMismatch() 1709 const ParmVarDecl *FirstParam = FirstFunction->getParamDecl(I); in diagnoseMismatch() 1710 const ParmVarDecl *SecondParam = SecondFunction->getParamDecl(I); in diagnoseMismatch()
|
H A D | DeclCXX.cpp | 2457 Context.hasSameUnqualifiedType(getParamDecl(UsualParams)->getType(), in isUsualDeallocationFunction() 2462 getParamDecl(UsualParams)->getType()->isAlignValT()) in isUsualDeallocationFunction() 2802 getParamDecl(0)->getType()->isLValueReferenceType(); in isCopyConstructor() 2807 getParamDecl(0)->getType()->isRValueReferenceType(); in isMoveConstructor() 2826 const ParmVarDecl *Param = getParamDecl(0); in isCopyOrMoveConstructor() 2872 const ParmVarDecl *Param = getParamDecl(0); in isSpecializationCopyingObject()
|
H A D | DeclPrinter.cpp | 733 ParamPrinter.VisitParmVarDecl(D->getParamDecl(i)); in VisitFunctionDecl() 748 Proto += D->getParamDecl(i)->getNameAsString(); in VisitFunctionDecl() 849 ParamPrinter.VisitParmVarDecl(D->getParamDecl(i)); in VisitFunctionDecl()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpFrame.cpp | 182 QualType Ty = F->getParamDecl(I)->getType(); in describe()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Decl.h | 2669 const ParmVarDecl *getParamDecl(unsigned i) const { in getParamDecl() function 2673 ParmVarDecl *getParamDecl(unsigned i) { in getParamDecl() function 2696 return getParamDecl(hasCXXExplicitFunctionObjectParameter() ? I + 1 : I); in getNonObjectParameter() 2700 return getParamDecl(hasCXXExplicitFunctionObjectParameter() ? I + 1 : I); in getNonObjectParameter() 4573 const ParmVarDecl *getParamDecl(unsigned i) const { in getParamDecl() function 4577 ParmVarDecl *getParamDecl(unsigned i) { in getParamDecl() function
|
H A D | DeclObjC.h | 377 ParmVarDecl *getParamDecl(unsigned Idx) { in getParamDecl() function 381 const ParmVarDecl *getParamDecl(unsigned Idx) const { in getParamDecl() function 382 return const_cast<ObjCMethodDecl *>(this)->getParamDecl(Idx); in getParamDecl()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransUnbridgedCasts.cpp | 439 ParmVarDecl *PD = FD->getParamDecl(i); in isPassedToCParamWithKnownOwnership()
|