Searched refs:ParmDecl (Results 1 – 5 of 5) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclTemplate.h | 317 template<typename ParmDecl, typename ArgType> 323 ParmDecl *PrevDeclWithDefaultArg; 329 llvm::PointerUnion<ArgType, ParmDecl*, Chain*> ValueOrInherited; 331 static ParmDecl *getParmOwningDefaultArg(ParmDecl *Parm) { in getParmOwningDefaultArg() 333 if (auto *Prev = Storage.ValueOrInherited.template dyn_cast<ParmDecl *>()) in getParmOwningDefaultArg() 336 .ValueOrInherited.template is<ParmDecl *>() && in getParmOwningDefaultArg() 355 if (const auto *Prev = ValueOrInherited.template dyn_cast<ParmDecl *>()) in get() 364 const ParmDecl *getInheritedFrom() const { in getInheritedFrom() 365 if (const auto *D = ValueOrInherited.template dyn_cast<ParmDecl *>()) in getInheritedFrom() 379 void setInherited(const ASTContext &C, ParmDecl *InheritedFrom) { in setInherited() [all …]
|
| H A D | ASTContext.h | 1620 TemplateTypeParmDecl *ParmDecl = nullptr) const;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 1541 Declarator ParmDecl(DS, ParsedAttributesView::none(), in ParseObjCMethodDecl() local 1543 ParseDeclarator(ParmDecl); in ParseObjCMethodDecl() 1544 IdentifierInfo *ParmII = ParmDecl.getIdentifier(); in ParseObjCMethodDecl() 1545 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDecl); in ParseObjCMethodDecl() 1547 ParmDecl.getIdentifierLoc(), in ParseObjCMethodDecl() 2608 Declarator ParmDecl(DS, ParsedAttributesView::none(), in ParseObjCTryStmt() local 2610 ParseDeclarator(ParmDecl); in ParseObjCTryStmt() 2614 FirstPart = Actions.ActOnObjCExceptionDecl(getCurScope(), ParmDecl); in ParseObjCTryStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 1632 template <typename ParmDecl> 1634 hasAcceptableDefaultArgument(Sema &S, const ParmDecl *D, in hasAcceptableDefaultArgument() 1640 llvm::SmallPtrSet<const ParmDecl *, 4> Visited; in hasAcceptableDefaultArgument() 1647 auto *NonConstD = const_cast<ParmDecl*>(D); in hasAcceptableDefaultArgument()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 3682 template <typename ParmDecl> 3683 static bool inheritDefaultTemplateArgument(ASTContext &Context, ParmDecl *From, in inheritDefaultTemplateArgument() 3685 auto *To = cast<ParmDecl>(ToD); in inheritDefaultTemplateArgument()
|