Home
last modified time | relevance | path

Searched defs:PVD (Results 1 – 25 of 39) sorted by relevance

12

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DMIGChecker.cpp187 if (const ParmVarDecl *PVD = in checkPostCall() local
209 const ParmVarDecl *PVD = getOriginParam(Arg, C); in checkPostCall() local
DFuchsiaHandleChecker.cpp313 const ParmVarDecl *PVD = FuncDecl->getParamDecl(Arg); in checkPreCall() local
378 const ParmVarDecl *PVD = FuncDecl->getParamDecl(Arg); in checkPostCall() local
529 const ParmVarDecl *PVD = FuncDecl->getParamDecl(Arg); in checkPointerEscape() local
DObjCAutoreleaseWriteChecker.cpp114 const auto *PVD = Match.getNodeAs<ParmVarDecl>(ParamBind); in emitDiagnostics() local
/external/llvm-project/clang/unittests/StaticAnalyzer/
DParamRegionTest.cpp21 const ParmVarDecl *PVD) { in checkForSameParamRegions()
/external/llvm-project/clang-tools-extra/clangd/
DHover.cpp281 const Expr *getDefaultArg(const ParmVarDecl *PVD) { in getDefaultArg()
292 HoverInfo::Param toHoverInfoParam(const ParmVarDecl *PVD, in toHoverInfoParam()
311 for (const ParmVarDecl *PVD : FD->parameters()) in fillFunctionTypeAndParams() local
740 if (const ParmVarDecl *PVD = FD->getParamDecl(I)) in maybeAddCalleeArgInfo() local
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
DRetainCountDiagnostics.cpp294 const ParmVarDecl *PVD = (*CE)->parameters()[*Idx]; in generateDiagnosticsForCallLike() local
388 const ParmVarDecl *PVD = Parameters[I]; in annotateConsumedSummaryMismatch() local
437 const auto *PVD = cast<ParmVarDecl>(VR->getDecl()); in annotateStartParameter() local
/external/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
DSValExplainer.h224 const ParmVarDecl *PVD = R->getDecl(); in VisitParamVarRegion() local
/external/clang/lib/Frontend/
DASTConsumers.cpp443 ParmVarDecl* PVD = cast<ParmVarDecl>(I); in PrintDeclContext() local
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DArgumentCommentCheck.cpp279 const ParmVarDecl *PVD = Callee->getParamDecl(I); in checkCallArgs() local
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DDefineOutline.cpp188 for (const auto *PVD : FD->parameters()) { in getFunctionSourceCode() local
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp578 const ParmVarDecl *PVD = getDecl(); in dumpToStream() local
928 const auto *PVD = dyn_cast<ParmVarDecl>(D); in getVarRegion() local
DExprEngineCallAndReturn.cpp612 for (const ParmVarDecl *PVD : Call.parameters()) { in evalCall() local
DBugReporterVisitors.cpp586 const ParmVarDecl *PVD = parameters[I]; in VisitNode() local
/external/llvm-project/clang/lib/Sema/
DSemaDeclAttr.cpp121 if (auto *PVD = getFunctionOrMethodParam(D, Idx)) in getFunctionOrMethodParamRange() local
1039 if (const auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) in VisitDeclRefExpr() local
3497 for (const ParmVarDecl *PVD : FD->parameters()) in handleCallbackAttr() local
5239 const auto *PVD = dyn_cast<ParmVarDecl>(D); in isValidOSObjectOutParameter() local
7323 auto *PVD = const_cast<ParmVarDecl *>(getFunctionOrMethodParam(D, I)); in handleObjCExternallyRetainedAttr() local
7379 if (const auto *PVD = dyn_cast<ParmVarDecl>(D)) { in handleAcquireHandleAttr() local
7646 if (auto *PVD = dyn_cast<ParmVarDecl>(D)) in ProcessDeclAttribute() local
DSemaTemplateInstantiateDecl.cpp301 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) { in instantiateOMPDeclareSimdDeclAttr() local
382 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) { in instantiateOMPDeclareVariantAttr() local
DSemaExpr.cpp4148 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) { in CheckUnaryExprOrTypeTraitOperand() local
5964 static void DiagnoseCalleeStaticArrayParam(Sema &S, ParmVarDecl *PVD) { in DiagnoseCalleeStaticArrayParam()
17491 if (ParmVarDecl *PVD = dyn_cast_or_null<ParmVarDecl>(Var)) in tryCaptureVariable() local
17511 if (ParmVarDecl *PVD = dyn_cast_or_null<ParmVarDecl>(Var)) in tryCaptureVariable() local
/external/clang/lib/CodeGen/
DCGCall.cpp2034 static const NonNullAttr *getNonNullAttr(const Decl *FD, const ParmVarDecl *PVD, in getNonNullAttr()
2209 if (const ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(Arg)) { in EmitFunctionProlog() local
3154 auto PVD = ParmNum < FD->getNumParams() ? FD->getParamDecl(ParmNum) : nullptr; in EmitNonNullArgCheck() local
DCodeGenFunction.cpp893 if (const ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(VD)) in StartFunction() local
DCGOpenMPRuntime.cpp6421 auto *PVD = cast<ParmVarDecl>(cast<DeclRefExpr>(E)->getDecl()) in emitDeclareSimdFunction() local
6437 auto *PVD = cast<ParmVarDecl>(cast<DeclRefExpr>(E)->getDecl()) in emitDeclareSimdFunction() local
6458 auto *PVD = cast<ParmVarDecl>(cast<DeclRefExpr>(E)->getDecl()) in emitDeclareSimdFunction() local
/external/llvm-project/clang/lib/CodeGen/
DCGCall.cpp2373 static const NonNullAttr *getNonNullAttr(const Decl *FD, const ParmVarDecl *PVD, in getNonNullAttr()
2550 if (const ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(Arg)) { in EmitFunctionProlog() local
3780 auto PVD = ParmNum < AC.getNumParams() ? AC.getParamDecl(ParmNum) : nullptr; in EmitNonNullArgCheck() local
DCodeGenFunction.cpp1158 if (const ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(VD)) in StartFunction() local
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp1040 APValue *getParamSlot(CallRef Call, const ParmVarDecl *PVD) { in getParamSlot()
1856 APValue &CallStackFrame::createParam(CallRef Args, const ParmVarDecl *PVD, in createParam()
2070 if (auto *PVD = dyn_cast_or_null<ParmVarDecl>(VD)) { in NoteLValueLocation() local
5978 static bool EvaluateCallArg(const ParmVarDecl *PVD, const Expr *Arg, in EvaluateCallArg()
6026 const ParmVarDecl *PVD = in EvaluateArgs() local
8174 if (auto *PVD = dyn_cast<ParmVarDecl>(VD)) { in VisitVarDecl() local
15588 const ParmVarDecl *PVD = Callee->getParamDecl(Idx); in EvaluateWithSubstitution() local
/external/clang/lib/Sema/
DSemaOpenMP.cpp3672 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) in ActOnOpenMPDeclareSimdDirective() local
3699 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) { in ActOnOpenMPDeclareSimdDirective() local
3769 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) { in ActOnOpenMPDeclareSimdDirective() local
3838 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) { in ActOnOpenMPDeclareSimdDirective() local
DSemaTemplateInstantiateDecl.cpp252 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) { in instantiateOMPDeclareSimdDeclAttr() local
/external/clang/lib/AST/
DExpr.cpp3903 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) in getBaseOriginalType() local

12