Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp114 const ParmVarDecl *ParamDecl) const;
131 const ParmVarDecl *ParamDecl, const char *BD,
189 std::unique_ptr<BugType> &BT, const ParmVarDecl *ParamDecl, const char *BD, in uninitRefOrPointer() argument
198 if(!ParamDecl) in uninitRefOrPointer()
207 if (ParamDecl->getType()->isPointerType()) { in uninitRefOrPointer()
210 } else if (ParamDecl->getType()->isReferenceType()) { in uninitRefOrPointer()
216 if(!ParamDecl->getType()->getPointeeType().isConstQualified()) in uninitRefOrPointer()
287 const ParmVarDecl *ParamDecl in PreVisitProcessArg()
291 if (uninitRefOrPointer(C, V, ArgRange, ArgEx, BT, ParamDecl, BD, in PreVisitProcessArg()
530 const ParmVarDecl *ParamDecl = nullptr; in checkArgInitializedness() local
[all …]
H A DNullabilityChecker.cpp400 for (const auto *ParamDecl : Params) { in checkParamsForPreconditionViolation() local
401 if (ParamDecl->isParameterPack()) in checkParamsForPreconditionViolation()
404 SVal LV = State->getLValue(ParamDecl, LocCtxt); in checkParamsForPreconditionViolation()
406 ParamDecl->getType())) { in checkParamsForPreconditionViolation()
/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp263 for (const auto *ParamDecl : FuncDecl->parameters()) { in Environment() local
264 assert(ParamDecl != nullptr); in Environment()
265 auto &ParamLoc = createStorageLocation(*ParamDecl); in Environment()
266 setStorageLocation(*ParamDecl, ParamLoc); in Environment()
267 if (Value *ParamVal = createValue(ParamDecl->getType())) in Environment()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseTemplate.cpp1012 Declarator ParamDecl(DS, ParsedAttributesView::none(), in ParseNonTypeTemplateParameter() local
1014 ParseDeclarator(ParamDecl); in ParseNonTypeTemplateParameter()
1023 DiagnoseMisplacedEllipsisInDeclarator(EllipsisLoc, ParamDecl); in ParseNonTypeTemplateParameter()
1051 return Actions.ActOnNonTypeTemplateParameter(getCurScope(), ParamDecl, in ParseNonTypeTemplateParameter()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp3385 for (const auto ParamDecl : parms) { in VisitNode() local
3394 assert(ParamDecl && "Formal parameter has no decl?"); in VisitNode()
3395 QualType T = ParamDecl->getType(); in VisitNode()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExprObjC.cpp352 ParmVarDecl *ParamDecl = Method->parameters()[0]; in BuildObjCNumericLiteral() local
354 ParamDecl); in BuildObjCNumericLiteral()
745 ParmVarDecl *ParamDecl = BoxingMethod->parameters()[0]; in BuildObjCBoxedExpr() local
747 ParamDecl); in BuildObjCBoxedExpr()
H A DSemaTemplateDeduction.cpp499 TemplateDecl *ParamDecl = Param.getAsTemplateDecl(); in DeduceTemplateArguments() local
500 if (!ParamDecl) { in DeduceTemplateArguments()
507 = dyn_cast<TemplateTemplateParmDecl>(ParamDecl)) { in DeduceTemplateArguments()
H A DSemaDeclCXX.cpp4035 auto *ParamDecl = cast<NamedDecl>(Param.Param); in ActOnStartTrailingRequiresClause() local
4036 if (ParamDecl->getDeclName()) in ActOnStartTrailingRequiresClause()
4037 PushOnScopeChains(ParamDecl, S, /*AddToContext=*/false); in ActOnStartTrailingRequiresClause()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
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()
H A DCGObjCMac.cpp7351 for (const auto *ParamDecl : method->parameters()) { in EmitVTableMessageSend() local
7352 if (ParamDecl->isDestroyedInCallee()) { in EmitVTableMessageSend()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DASTContext.h1640 TemplateArgument getInjectedTemplateArg(NamedDecl *ParamDecl);