Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp77 const ParmVarDecl *ParamDecl) const;
94 const ParmVarDecl *ParamDecl, const char *BD) const;
144 const ParmVarDecl *ParamDecl, in uninitRefOrPointer() argument
150 if(!ParamDecl) in uninitRefOrPointer()
158 if (ParamDecl->getType()->isPointerType()) { in uninitRefOrPointer()
160 } else if (ParamDecl->getType()->isReferenceType()) { in uninitRefOrPointer()
165 if(!ParamDecl->getType()->getPointeeType().isConstQualified()) in uninitRefOrPointer()
195 const ParmVarDecl *ParamDecl in PreVisitProcessArg()
199 if (uninitRefOrPointer(C, V, ArgRange, ArgEx, BT, ParamDecl, BD)) in PreVisitProcessArg()
429 const ParmVarDecl *ParamDecl = nullptr; in checkPreCall() local
[all …]
DNullabilityChecker.cpp385 for (const auto *ParamDecl : Params) { in checkParamsForPreconditionViolation() local
386 if (ParamDecl->isParameterPack()) in checkParamsForPreconditionViolation()
389 SVal LV = State->getLValue(ParamDecl, LocCtxt); in checkParamsForPreconditionViolation()
391 ParamDecl->getType())) { in checkParamsForPreconditionViolation()
/external/clang/lib/Parse/
DParseTemplate.cpp678 Declarator ParamDecl(DS, Declarator::TemplateParamContext); in ParseNonTypeTemplateParameter() local
679 ParseDeclarator(ParamDecl); in ParseNonTypeTemplateParameter()
688 DiagnoseMisplacedEllipsisInDeclarator(EllipsisLoc, ParamDecl); in ParseNonTypeTemplateParameter()
711 return Actions.ActOnNonTypeTemplateParameter(getCurScope(), ParamDecl, in ParseNonTypeTemplateParameter()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp326 const ParmVarDecl *ParamDecl = *I; in addParameterValuesToBindings() local
327 assert(ParamDecl && "Formal parameter has no decl?"); in addParameterValuesToBindings()
331 Loc ParamLoc = SVB.makeLoc(MRMgr.getVarRegion(ParamDecl, CalleeCtx)); in addParameterValuesToBindings()
DBugReporterVisitors.cpp1672 const ParmVarDecl *ParamDecl = *I; in VisitNode() local
1673 assert(ParamDecl && "Formal parameter has no decl?"); in VisitNode()
1674 QualType T = ParamDecl->getType(); in VisitNode()
/external/clang/lib/Sema/
DSemaExprObjC.cpp349 ParmVarDecl *ParamDecl = Method->parameters()[0]; in BuildObjCNumericLiteral() local
351 ParamDecl); in BuildObjCNumericLiteral()
717 ParmVarDecl *ParamDecl = BoxingMethod->parameters()[0]; in BuildObjCBoxedExpr() local
719 ParamDecl); in BuildObjCBoxedExpr()
DSemaTemplateDeduction.cpp380 TemplateDecl *ParamDecl = Param.getAsTemplateDecl(); in DeduceTemplateArguments() local
381 if (!ParamDecl) { in DeduceTemplateArguments()
388 = dyn_cast<TemplateTemplateParmDecl>(ParamDecl)) { in DeduceTemplateArguments()
/external/clang/lib/CodeGen/
DCGObjCMac.cpp1609 const ParmVarDecl *ParamDecl = (*i); in complete() local
1610 if (ParamDecl->hasAttr<NSConsumedAttr>()) { in complete()
1944 for (const auto *ParamDecl : Method->parameters()) { in EmitMessageSend() local
1945 if (ParamDecl->hasAttr<NSConsumedAttr>()) { in EmitMessageSend()
6815 for (const auto *ParamDecl : method->parameters()) { in EmitVTableMessageSend() local
6816 if (ParamDecl->hasAttr<NSConsumedAttr>()) { in EmitVTableMessageSend()