Home
last modified time | relevance | path

Searched refs:ParmDecl (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclTemplate.h301 template<typename ParmDecl, typename ArgType>
307 ParmDecl *PrevDeclWithDefaultArg;
313 llvm::PointerUnion<ArgType, ParmDecl*, Chain*> ValueOrInherited;
315 static ParmDecl *getParmOwningDefaultArg(ParmDecl *Parm) { in getParmOwningDefaultArg()
317 if (auto *Prev = Storage.ValueOrInherited.template dyn_cast<ParmDecl *>()) in getParmOwningDefaultArg()
319 assert(!isa<ParmDecl *>(Parm->getDefaultArgStorage().ValueOrInherited) && in getParmOwningDefaultArg()
332 bool isInherited() const { return isa<ParmDecl *>(ValueOrInherited); } in isInherited()
338 if (const auto *Prev = ValueOrInherited.template dyn_cast<ParmDecl *>()) in get()
347 const ParmDecl *getInheritedFrom() const { in getInheritedFrom()
348 if (const auto *D = ValueOrInherited.template dyn_cast<ParmDecl *>()) in getInheritedFrom()
[all …]
H A DASTContext.h1864 TemplateTypeParmDecl *ParmDecl = nullptr) const;
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp1316 Declarator ParmDecl(DS, ParsedAttributesView::none(), in ParseObjCMethodDecl() local
1318 ParseDeclarator(ParmDecl); in ParseObjCMethodDecl()
1319 const IdentifierInfo *ParmII = ParmDecl.getIdentifier(); in ParseObjCMethodDecl()
1320 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDecl); in ParseObjCMethodDecl()
1322 ParmDecl.getIdentifierLoc(), in ParseObjCMethodDecl()
2294 Declarator ParmDecl(DS, ParsedAttributesView::none(), in ParseObjCTryStmt() local
2296 ParseDeclarator(ParmDecl); in ParseObjCTryStmt()
2301 Actions.ObjC().ActOnObjCExceptionDecl(getCurScope(), ParmDecl); in ParseObjCTryStmt()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp632 if (const auto *ParmDecl = dyn_cast<ParmVarDecl>(D); in handleLocksExcludedAttr() local
633 ParmDecl && !checkFunParamsAreScopedLockable(S, ParmDecl, AL)) in handleLocksExcludedAttr()
6413 if (const auto *ParmDecl = dyn_cast<ParmVarDecl>(D); in handleAcquireCapabilityAttr() local
6414 ParmDecl && !checkFunParamsAreScopedLockable(S, ParmDecl, AL)) in handleAcquireCapabilityAttr()
6437 if (const auto *ParmDecl = dyn_cast<ParmVarDecl>(D); in handleReleaseCapabilityAttr() local
6438 ParmDecl && !checkFunParamsAreScopedLockable(S, ParmDecl, AL)) in handleReleaseCapabilityAttr()
6450 if (const auto *ParmDecl = dyn_cast<ParmVarDecl>(D); in handleRequiresCapabilityAttr() local
6451 ParmDecl && !checkFunParamsAreScopedLockable(S, ParmDecl, AL)) in handleRequiresCapabilityAttr()
H A DSemaLookup.cpp1690 template <typename ParmDecl>
1692 hasAcceptableDefaultArgument(Sema &S, const ParmDecl *D, in hasAcceptableDefaultArgument()
1698 llvm::SmallPtrSet<const ParmDecl *, 4> Visited; in hasAcceptableDefaultArgument()
1705 auto *NonConstD = const_cast<ParmDecl*>(D); in hasAcceptableDefaultArgument()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp3707 template <typename ParmDecl>
3708 static bool inheritDefaultTemplateArgument(ASTContext &Context, ParmDecl *From, in inheritDefaultTemplateArgument()
3710 auto *To = cast<ParmDecl>(ToD); in inheritDefaultTemplateArgument()