Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp112 const ParmVarDecl *ParamDecl) const;
128 const ParmVarDecl *ParamDecl, const char *BD,
186 std::unique_ptr<BugType> &BT, const ParmVarDecl *ParamDecl, const char *BD, in uninitRefOrPointer() argument
195 if(!ParamDecl) in uninitRefOrPointer()
204 if (ParamDecl->getType()->isPointerType()) { in uninitRefOrPointer()
207 } else if (ParamDecl->getType()->isReferenceType()) { in uninitRefOrPointer()
213 if(!ParamDecl->getType()->getPointeeType().isConstQualified()) in uninitRefOrPointer()
286 const ParmVarDecl *ParamDecl in PreVisitProcessArg()
290 if (uninitRefOrPointer(C, V, ArgRange, ArgEx, BT, ParamDecl, BD, in PreVisitProcessArg()
529 const ParmVarDecl *ParamDecl = nullptr; in checkArgInitializedness() local
[all …]
H A DNullabilityChecker.cpp405 for (const auto *ParamDecl : Params) { in checkParamsForPreconditionViolation() local
406 if (ParamDecl->isParameterPack()) in checkParamsForPreconditionViolation()
409 SVal LV = State->getLValue(ParamDecl, LocCtxt); in checkParamsForPreconditionViolation()
411 ParamDecl->getType())) { in checkParamsForPreconditionViolation()
/freebsd/contrib/llvm-project/lldb/tools/lldb-rpc/lldb-rpc-gen/
H A Dlldb-rpc-gen.cpp172 for (auto *ParamDecl : MDecl->parameters()) { in GetMethodSupportLevel() local
173 SupportLevel ParamTypeLevel = GetTypeSupportLevel(ParamDecl->getType()); in GetMethodSupportLevel()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLBuiltinTypeDeclBuilder.cpp334 ParmVarDecl *ParamDecl = Method->getParamDecl(static_cast<unsigned>(PH)); in convertPlaceholder() local
336 AST, NestedNameSpecifierLoc(), SourceLocation(), ParamDecl, false, in convertPlaceholder()
337 DeclarationNameInfo(ParamDecl->getDeclName(), SourceLocation()), in convertPlaceholder()
338 ParamDecl->getType(), VK_PRValue); in convertPlaceholder()
H A DSemaExprObjC.cpp357 ParmVarDecl *ParamDecl = Method->parameters()[0]; in BuildObjCNumericLiteral() local
359 ParamDecl); in BuildObjCNumericLiteral()
746 ParmVarDecl *ParamDecl = BoxingMethod->parameters()[0]; in BuildObjCBoxedExpr() local
748 ParamDecl); in BuildObjCBoxedExpr()
H A DSemaDeclCXX.cpp4140 auto *ParamDecl = cast<NamedDecl>(Param.Param); in ActOnStartTrailingRequiresClause() local
4141 if (ParamDecl->getDeclName()) in ActOnStartTrailingRequiresClause()
4142 PushOnScopeChains(ParamDecl, S, /*AddToContext=*/false); in ActOnStartTrailingRequiresClause()
16420 [](const ParmVarDecl *ParamDecl) { in BuildTypeAwareUsualDelete() argument
16421 return ParamDecl->getType()->isDependentType(); in BuildTypeAwareUsualDelete()
16574 const ParmVarDecl *ParamDecl = FnDecl->getParamDecl(Idx); in CheckOperatorNewDeleteTypes() local
16575 if (ParamDecl->hasDefaultArg()) in CheckOperatorNewDeleteTypes()
16578 << FnDecl->getDeclName() << Idx << ParamDecl->getDefaultArgRange(); in CheckOperatorNewDeleteTypes()
16607 const ParmVarDecl *ParamDecl = FnDecl->getParamDecl(ParamIdx); in CheckOperatorNewDeleteTypes() local
16612 << ParamDecl->getSourceRange(); in CheckOperatorNewDeleteTypes()
[all …]
H A DSemaTemplateDeduction.cpp517 TemplateDecl *ParamDecl = Param.getAsTemplateDecl(); in DeduceTemplateArguments() local
518 if (!ParamDecl) { in DeduceTemplateArguments()
524 if (auto *TempParam = dyn_cast<TemplateTemplateParmDecl>(ParamDecl)) { in DeduceTemplateArguments()
530 ParamDecl->getTemplateParameters()->asArray(); in DeduceTemplateArguments()
H A DSemaDeclAttr.cpp436 const ParmVarDecl *ParamDecl, in checkFunParamsAreScopedLockable() argument
438 QualType ParamType = ParamDecl->getType(); in checkFunParamsAreScopedLockable()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp506 for (const auto *ParamDecl : InitialTargetFunc->parameters()) { in initialize() local
507 assert(ParamDecl != nullptr); in initialize()
508 setStorageLocation(*ParamDecl, createObject(*ParamDecl, nullptr)); in initialize()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp810 Declarator ParamDecl(DS, ParsedAttributesView::none(), in ParseNonTypeTemplateParameter() local
812 ParseDeclarator(ParamDecl); in ParseNonTypeTemplateParameter()
821 DiagnoseMisplacedEllipsisInDeclarator(EllipsisLoc, ParamDecl); in ParseNonTypeTemplateParameter()
856 return Actions.ActOnNonTypeTemplateParameter(getCurScope(), ParamDecl, in ParseNonTypeTemplateParameter()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRetainPtrCtorAdoptChecker.cpp253 auto *ParamDecl = FnDecl->getParamDecl(ArgIndex); in checkCreateOrCopyFunction() local
254 if (ParamDecl->hasAttr<CFReturnsRetainedAttr>()) in checkCreateOrCopyFunction()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp3374 for (const auto ParamDecl : parms) { in VisitNode() local
3383 assert(ParamDecl && "Formal parameter has no decl?"); in VisitNode()
3384 QualType T = ParamDecl->getType(); in VisitNode()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp961 auto *ParamDecl = dyn_cast<ParmVarDecl>(ArrayDeclRef->getDecl()); in LoadPassedObjectSize() local
962 if (!ParamDecl) in LoadPassedObjectSize()
965 auto *POSAttr = ParamDecl->getAttr<PassObjectSizeAttr>(); in LoadPassedObjectSize()
975 auto PassedSizeIt = SizeArguments.find(ParamDecl); in LoadPassedObjectSize()
H A DCGObjCMac.cpp7220 for (const auto *ParamDecl : method->parameters()) { in EmitVTableMessageSend() local
7221 if (ParamDecl->isDestroyedInCallee()) { in EmitVTableMessageSend()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h1906 TemplateArgument getInjectedTemplateArg(NamedDecl *ParamDecl) const;