| /freebsd-13.1/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 | Iterator.cpp | 82 if (!isIteratorType(Func->getParamDecl(0)->getType())) in isInsertCall() 93 if (!isIteratorType(Func->getParamDecl(0)->getType())) in isEmplaceCall() 104 if (!isIteratorType(Func->getParamDecl(0)->getType())) in isEraseCall() 107 !isIteratorType(Func->getParamDecl(1)->getType())) in isEraseCall() 118 if (!isIteratorType(Func->getParamDecl(0)->getType())) in isEraseAfterCall() 121 !isIteratorType(Func->getParamDecl(1)->getType())) in isEraseAfterCall()
|
| H A D | MismatchedIteratorChecker.cpp | 124 if (Ctr->getParamDecl(0)->getName() != "first" || in checkPreCall() 125 Ctr->getParamDecl(1)->getName() != "last") in checkPreCall() 176 const auto *Param = Func->getParamDecl(J); in checkPreCall()
|
| H A D | GTestChecker.cpp | 223 if (ParamCount == 1 && CtorDecl->getParamDecl(0)->getType() == BoolTy) { in checkPostCall() 229 auto *RefTy = CtorDecl->getParamDecl(0)->getType()->getAs<ReferenceType>(); in checkPostCall()
|
| H A D | FuchsiaHandleChecker.cpp | 338 const ParmVarDecl *PVD = FuncDecl->getParamDecl(Arg); in checkPreCall() 418 const ParmVarDecl *PVD = FuncDecl->getParamDecl(Arg); in checkPostCall() 586 const ParmVarDecl *PVD = FuncDecl->getParamDecl(Arg); in checkPointerEscape()
|
| H A D | InnerPointerChecker.cpp | 169 QualType ParamTy = FD->getParamDecl(I)->getType(); in checkFunctionArguments()
|
| H A D | MallocChecker.cpp | 1046 FD->getParamDecl(0)->getType().getDesugaredType(AC) == AC.VoidPtrTy && in isStandardRealloc() 1047 FD->getParamDecl(1)->getType().getDesugaredType(AC) == in isStandardRealloc() 1060 FD->getParamDecl(0)->getType().getDesugaredType(AC) == AC.VoidPtrTy && in isGRealloc() 1061 FD->getParamDecl(1)->getType().getDesugaredType(AC) == in isGRealloc()
|
| H A D | CallAndMessageChecker.cpp | 532 ParamDecl = FD->getParamDecl(i); in checkArgInitializedness()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 323 const ParmVarDecl *Flag = D->getParamDecl(0); in create_call_once() 324 const ParmVarDecl *Callback = D->getParamDecl(1); in create_call_once() 407 const ParmVarDecl *PDecl = D->getParamDecl(ParamIdx); in create_call_once() 483 const ParmVarDecl *Predicate = D->getParamDecl(0); in create_dispatch_once() 493 const ParmVarDecl *Block = D->getParamDecl(1); in create_dispatch_once() 568 const ParmVarDecl *PV = D->getParamDecl(1); in create_dispatch_sync() 610 const ParmVarDecl *OldValue = D->getParamDecl(0); in create_OSAtomicCompareAndSwap() 613 const ParmVarDecl *NewValue = D->getParamDecl(1); in create_OSAtomicCompareAndSwap() 618 const ParmVarDecl *TheValue = D->getParamDecl(2); in create_OSAtomicCompareAndSwap()
|
| H A D | CalledOnceCheck.cpp | 661 TrackedParams.push_back(Function->getParamDecl(Index)); in findParamsToTrack() 1057 return shouldBeCalledOnce(Block->getParamDecl(ParamIndex)); in shouldBeCalledOnce() 1071 return shouldBeCalledOnce(Function->getParamDecl(ParamIndex)) || in shouldBeCalledOnce() 1088 const ParmVarDecl *Parameter = Method->getParamDecl(ParamIndex); in shouldBeCalledOnce()
|
| H A D | IssueHash.cpp | 51 Signature.append(Target->getParamDecl(i)->getType().getAsString()); in GetSignature()
|
| H A D | ThreadSafetyCommon.cpp | 294 ? cast<FunctionDecl>(D)->getCanonicalDecl()->getParamDecl(I) in translateDeclRefExpr() 295 : cast<ObjCMethodDecl>(D)->getCanonicalDecl()->getParamDecl(I); in translateDeclRefExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaSYCL.cpp | 57 QualType KernelParamTy = KernelCaller->getParamDecl(0)->getType(); in GetSYCLKernelObjectType()
|
| H A D | SemaDeclCXX.cpp | 513 ParmVarDecl *NewParam = New->getParamDecl(p); in MergeCXXFunctionDecl() 556 OldParam = Older->getParamDecl(p); in MergeCXXFunctionDecl() 1599 ParmVarDecl *Param = FD->getParamDecl(ParamIdx); in CheckCXXDefaultArguments() 1610 ParmVarDecl *Param = FD->getParamDecl(ParamIdx); in CheckCXXDefaultArguments() 8099 ParmVarDecl *PD = FD->getParamDecl(I); in getParam() 8420 << FD->getParamDecl(0)->getType() in CheckExplicitlyDefaultedComparison() 8421 << FD->getParamDecl(0)->getSourceRange() in CheckExplicitlyDefaultedComparison() 8422 << FD->getParamDecl(1)->getType() in CheckExplicitlyDefaultedComparison() 15634 if (FnDecl->getParamDecl(0)->hasDefaultArg()) in CheckOperatorNewDeclaration() 17176 Diag(New->getParamDecl(I)->getLocation(), in CheckOverridingFunctionAttributes() [all …]
|
| H A D | SemaOverload.cpp | 902 !Ctx.hasSameUnqualifiedType(FD->getParamDecl(0)->getType(), in shouldAddReversed() 903 FD->getParamDecl(1)->getType()) || in shouldAddReversed() 6371 Constructor->getParamDecl(0)->getType()->isReferenceType()) { in AddOverloadCandidate() 6372 QualType P = Constructor->getParamDecl(0)->getType()->getPointeeType(); in AddOverloadCandidate() 6622 ParmVarDecl *P = Function->getParamDecl(i); in convertArgsForAvailabilityChecks() 9521 return F->getParamDecl(I++)->getType(); in haveSameParameterTypes() 10689 if (modeCount == 1 && Fn->getParamDecl(0)->getDeclName()) in DiagnoseArityMismatch() 10692 << Description << mode << Fn->getParamDecl(0) << NumFormalArgs; in DiagnoseArityMismatch() 11053 Meth->getParamDecl(0)->getType()->getAs<ReferenceType>()) { in DiagnoseBadTarget() 11208 << Fn->getParamDecl(0)->getType()->isRValueReferenceType(); in NoteFunctionCandidate() [all …]
|
| H A D | SemaLambda.cpp | 549 ParmVarDecl *Param = CallOperator->getParamDecl(p); in addLambdaParameters() 1434 ParmVarDecl *From = CallOperator->getParamDecl(I); in addFunctionPointerConversion() 1997 ParmVarDecl *From = CallOperator->getParamDecl(I); in BuildBlockForLambdaConversion()
|
| H A D | SemaExprCXX.cpp | 1051 if (CheckCXXDefaultArgExpr(ThrowLoc, CD, CD->getParamDecl(I))) in CheckCXXThrowOperand() 1609 FD->getParamDecl(UsualParams)->getType(), in isNonPlacementDeallocationFunction() 1615 FD->getParamDecl(UsualParams)->getType(), in isNonPlacementDeallocationFunction() 1640 FD->getParamDecl(NumBaseParams)->getType(), in UsualDeallocFnInfo() 1647 FD->getParamDecl(NumBaseParams)->getType()->isAlignValT()) { in UsualDeallocFnInfo() 2520 C.Function->getParamDecl(1)->getType()->isAlignValT(); in resolveAllocationOverload() 3663 QualType ParamType = OperatorDelete->getParamDecl(0)->getType(); in ActOnCXXDelete() 3799 QualType ParamTy = OperatorNewOrDelete->getParamDecl(i)->getType(); in SemaBuiltinOperatorNewDeleteOverloaded() 4086 BeforeToType = Ctor->getParamDecl(0)->getType().getNonReferenceType(); in PerformImplicitConversion()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 308 PVD, FD->getParamDecl(PVD->getFunctionScopeIndex())); in instantiateOMPDeclareSimdDeclAttr() 389 PVD, FD->getParamDecl(PVD->getFunctionScopeIndex())); in instantiateOMPDeclareVariantAttr() 800 Ctor->getParamDecl(I)); in InstantiateDefaultCtorDefaultArgs() 4365 const ParmVarDecl *PatternParam = PatternDecl->getParamDecl(I); in addInstantiatedParametersToScope() 4369 ParmVarDecl *FunctionParam = Function->getParamDecl(FParamIdx); in addInstantiatedParametersToScope() 4399 ParmVarDecl *FunctionParam = Function->getParamDecl(FParamIdx); in addInstantiatedParametersToScope() 5007 ParmVarDecl *Parm = Function->getParamDecl(0); in InstantiateFunctionDefinition()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCUDANV.cpp | 359 ParmVarDecl *GridDimParam = cudaLaunchKernelFD->getParamDecl(1); in emitDeviceStubBodyNew() 387 cudaLaunchKernelFD->getParamDecl(0)->getType()); in emitDeviceStubBodyNew() 391 cudaLaunchKernelFD->getParamDecl(3)->getType()); in emitDeviceStubBodyNew() 393 cudaLaunchKernelFD->getParamDecl(4)->getType()); in emitDeviceStubBodyNew() 395 cudaLaunchKernelFD->getParamDecl(5)->getType()); in emitDeviceStubBodyNew()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 854 Method->getParamDecl(0)->getType()->getAs<ReferenceType>(); in addedMember() 2328 Context.hasSameUnqualifiedType(getParamDecl(UsualParams)->getType(), in isUsualDeallocationFunction() 2333 getParamDecl(UsualParams)->getType()->isAlignValT()) in isUsualDeallocationFunction() 2375 QualType ParamType = getParamDecl(0)->getType(); in isCopyAssignmentOperator() 2395 QualType ParamType = getParamDecl(0)->getType(); in isMoveAssignmentOperator() 2650 getParamDecl(0)->getType()->isLValueReferenceType(); in isCopyConstructor() 2655 getParamDecl(0)->getType()->isRValueReferenceType(); in isMoveConstructor() 2674 const ParmVarDecl *Param = getParamDecl(0); in isCopyOrMoveConstructor() 2720 const ParmVarDecl *Param = getParamDecl(0); in isSpecializationCopyingObject()
|
| H A D | DeclPrinter.cpp | 681 ParamPrinter.VisitParmVarDecl(D->getParamDecl(i)); in VisitFunctionDecl() 692 Proto += D->getParamDecl(i)->getNameAsString(); in VisitFunctionDecl() 785 ParamPrinter.VisitParmVarDecl(D->getParamDecl(i)); in VisitFunctionDecl()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | InterpFrame.cpp | 122 QualType Ty = F->getParamDecl(I)->getType(); in describe()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransUnbridgedCasts.cpp | 439 ParmVarDecl *PD = FD->getParamDecl(i); in isPassedToCParamWithKnownOwnership()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 381 ParmVarDecl *getParamDecl(unsigned Idx) { in getParamDecl() function 385 const ParmVarDecl *getParamDecl(unsigned Idx) const { in getParamDecl() function 386 return const_cast<ObjCMethodDecl *>(this)->getParamDecl(Idx); in getParamDecl()
|
| H A D | Decl.h | 2501 const ParmVarDecl *getParamDecl(unsigned i) const { in getParamDecl() function 2505 ParmVarDecl *getParamDecl(unsigned i) { in getParamDecl() function 4246 const ParmVarDecl *getParamDecl(unsigned i) const { in getParamDecl() function 4250 ParmVarDecl *getParamDecl(unsigned i) { in getParamDecl() function
|