Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp507 for (const auto *ParamDecl : InitialTargetFunc->parameters()) { in initialize() local
508 assert(ParamDecl != nullptr); in initialize()
509 setStorageLocation(*ParamDecl, createObject(*ParamDecl, nullptr)); in initialize()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNullabilityChecker.cpp408 for (const auto *ParamDecl : Params) { in checkParamsForPreconditionViolation() local
409 if (ParamDecl->isParameterPack()) in checkParamsForPreconditionViolation()
412 SVal LV = State->getLValue(ParamDecl, LocCtxt); in checkParamsForPreconditionViolation()
414 ParamDecl->getType())) { in checkParamsForPreconditionViolation()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp915 Declarator ParamDecl(DS, ParsedAttributesView::none(), in ParseNonTypeTemplateParameter() local
917 ParseDeclarator(ParamDecl); in ParseNonTypeTemplateParameter()
926 DiagnoseMisplacedEllipsisInDeclarator(EllipsisLoc, ParamDecl); in ParseNonTypeTemplateParameter()
961 return Actions.ActOnNonTypeTemplateParameter(getCurScope(), ParamDecl, in ParseNonTypeTemplateParameter()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp3417 for (const auto ParamDecl : parms) { in VisitNode() local
3426 assert(ParamDecl && "Formal parameter has no decl?"); in VisitNode()
3427 QualType T = ParamDecl->getType(); in VisitNode()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp359 ParmVarDecl *ParamDecl = Method->parameters()[0]; in BuildObjCNumericLiteral() local
361 ParamDecl); in BuildObjCNumericLiteral()
751 ParmVarDecl *ParamDecl = BoxingMethod->parameters()[0]; in BuildObjCBoxedExpr() local
753 ParamDecl); in BuildObjCBoxedExpr()
H A DSemaTemplateDeduction.cpp573 TemplateDecl *ParamDecl = Param.getAsTemplateDecl(); in DeduceTemplateArguments() local
574 if (!ParamDecl) { in DeduceTemplateArguments()
580 if (auto *TempParam = dyn_cast<TemplateTemplateParmDecl>(ParamDecl)) { in DeduceTemplateArguments()
H A DSemaDeclCXX.cpp4041 auto *ParamDecl = cast<NamedDecl>(Param.Param); in ActOnStartTrailingRequiresClause() local
4042 if (ParamDecl->getDeclName()) in ActOnStartTrailingRequiresClause()
4043 PushOnScopeChains(ParamDecl, S, /*AddToContext=*/false); in ActOnStartTrailingRequiresClause()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp894 auto *ParamDecl = dyn_cast<ParmVarDecl>(ArrayDeclRef->getDecl()); in LoadPassedObjectSize() local
895 if (!ParamDecl) in LoadPassedObjectSize()
898 auto *POSAttr = ParamDecl->getAttr<PassObjectSizeAttr>(); in LoadPassedObjectSize()
908 auto PassedSizeIt = SizeArguments.find(ParamDecl); in LoadPassedObjectSize()
H A DCGObjCMac.cpp7312 for (const auto *ParamDecl : method->parameters()) { in EmitVTableMessageSend() local
7313 if (ParamDecl->isDestroyedInCallee()) { in EmitVTableMessageSend()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h1721 TemplateArgument getInjectedTemplateArg(NamedDecl *ParamDecl);