Home
last modified time | relevance | path

Searched refs:ParamDecl (Results 1 – 10 of 10) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp78 const ParmVarDecl *ParamDecl) const;
95 const ParmVarDecl *ParamDecl, const char *BD,
159 if(!ParamDecl) in uninitRefOrPointer()
168 if (ParamDecl->getType()->isPointerType()) { in uninitRefOrPointer()
171 } else if (ParamDecl->getType()->isReferenceType()) { in uninitRefOrPointer()
177 if(!ParamDecl->getType()->getPointeeType().isConstQualified()) in uninitRefOrPointer()
248 const ParmVarDecl *ParamDecl in PreVisitProcessArg()
252 if (uninitRefOrPointer(C, V, ArgRange, ArgEx, BT, ParamDecl, BD, in PreVisitProcessArg()
451 const ParmVarDecl *ParamDecl = nullptr; in checkPreCall() local
453 ParamDecl = FD->getParamDecl(i); in checkPreCall()
[all …]
H A DNullabilityChecker.cpp363 for (const auto *ParamDecl : Params) { in checkParamsForPreconditionViolation() local
364 if (ParamDecl->isParameterPack()) in checkParamsForPreconditionViolation()
367 SVal LV = State->getLValue(ParamDecl, LocCtxt); in checkParamsForPreconditionViolation()
369 ParamDecl->getType())) { in checkParamsForPreconditionViolation()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseTemplate.cpp692 Declarator ParamDecl(DS, DeclaratorContext::TemplateParamContext); in ParseNonTypeTemplateParameter() local
693 ParseDeclarator(ParamDecl); in ParseNonTypeTemplateParameter()
702 DiagnoseMisplacedEllipsisInDeclarator(EllipsisLoc, ParamDecl); in ParseNonTypeTemplateParameter()
725 return Actions.ActOnNonTypeTemplateParameter(getCurScope(), ParamDecl, in ParseNonTypeTemplateParameter()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp503 const ParmVarDecl *ParamDecl = *I; in addParameterValuesToBindings() local
504 assert(ParamDecl && "Formal parameter has no decl?"); in addParameterValuesToBindings()
516 Loc ParamLoc = SVB.makeLoc(MRMgr.getVarRegion(ParamDecl, CalleeCtx)); in addParameterValuesToBindings()
H A DBugReporterVisitors.cpp2337 for (const auto ParamDecl : parms) { in VisitNode() local
2346 assert(ParamDecl && "Formal parameter has no decl?"); in VisitNode()
2347 QualType T = ParamDecl->getType(); in VisitNode()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprObjC.cpp349 ParmVarDecl *ParamDecl = Method->parameters()[0]; in BuildObjCNumericLiteral() local
351 ParamDecl); in BuildObjCNumericLiteral()
722 ParmVarDecl *ParamDecl = BoxingMethod->parameters()[0]; in BuildObjCBoxedExpr() local
724 ParamDecl); in BuildObjCBoxedExpr()
H A DSemaTemplateDeduction.cpp486 TemplateDecl *ParamDecl = Param.getAsTemplateDecl(); in DeduceTemplateArguments() local
487 if (!ParamDecl) { in DeduceTemplateArguments()
494 = dyn_cast<TemplateTemplateParmDecl>(ParamDecl)) { in DeduceTemplateArguments()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGObjCMac.cpp1715 const ParmVarDecl *ParamDecl = (*i); in complete() local
1716 if (ParamDecl->hasAttr<NSConsumedAttr>()) { in complete()
2159 for (const auto *ParamDecl : Method->parameters()) { in EmitMessageSend() local
2160 if (ParamDecl->hasAttr<NSConsumedAttr>()) { in EmitMessageSend()
7120 for (const auto *ParamDecl : method->parameters()) { in EmitVTableMessageSend() local
7121 if (ParamDecl->hasAttr<NSConsumedAttr>()) { in EmitVTableMessageSend()
H A DCGExpr.cpp890 auto *ParamDecl = dyn_cast<ParmVarDecl>(ArrayDeclRef->getDecl()); in LoadPassedObjectSize() local
891 if (!ParamDecl) in LoadPassedObjectSize()
894 auto *POSAttr = ParamDecl->getAttr<PassObjectSizeAttr>(); in LoadPassedObjectSize()
904 auto PassedSizeIt = SizeArguments.find(ParamDecl); in LoadPassedObjectSize()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DASTContext.h1471 TemplateArgument getInjectedTemplateArg(NamedDecl *ParamDecl);