Searched refs:ParmDecl (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclTemplate.h | 298 template<typename ParmDecl, typename ArgType> 304 ParmDecl *PrevDeclWithDefaultArg; 310 llvm::PointerUnion<ArgType, ParmDecl*, Chain*> ValueOrInherited; 312 static ParmDecl *getParmOwningDefaultArg(ParmDecl *Parm) { in getParmOwningDefaultArg() 314 if (auto *Prev = Storage.ValueOrInherited.template dyn_cast<ParmDecl *>()) in getParmOwningDefaultArg() 317 .ValueOrInherited.template is<ParmDecl *>() && in getParmOwningDefaultArg() 330 bool isInherited() const { return ValueOrInherited.template is<ParmDecl*>(); } in isInherited() 336 if (const auto *Prev = ValueOrInherited.template dyn_cast<ParmDecl *>()) in get() 345 const ParmDecl *getInheritedFrom() const { in getInheritedFrom() 346 if (const auto *D = ValueOrInherited.template dyn_cast<ParmDecl *>()) in getInheritedFrom() [all …]
|
H A D | ASTContext.h | 1682 TemplateTypeParmDecl *ParmDecl = nullptr) const;
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseObjc.cpp | 1546 Declarator ParmDecl(DS, ParsedAttributesView::none(), in ParseObjCMethodDecl() local 1548 ParseDeclarator(ParmDecl); in ParseObjCMethodDecl() 1549 const IdentifierInfo *ParmII = ParmDecl.getIdentifier(); in ParseObjCMethodDecl() 1550 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDecl); in ParseObjCMethodDecl() 1552 ParmDecl.getIdentifierLoc(), in ParseObjCMethodDecl() 2609 Declarator ParmDecl(DS, ParsedAttributesView::none(), in ParseObjCTryStmt() local 2611 ParseDeclarator(ParmDecl); in ParseObjCTryStmt() 2616 Actions.ObjC().ActOnObjCExceptionDecl(getCurScope(), ParmDecl); in ParseObjCTryStmt()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaLookup.cpp | 1653 template <typename ParmDecl> 1655 hasAcceptableDefaultArgument(Sema &S, const ParmDecl *D, in hasAcceptableDefaultArgument() 1661 llvm::SmallPtrSet<const ParmDecl *, 4> Visited; in hasAcceptableDefaultArgument() 1668 auto *NonConstD = const_cast<ParmDecl*>(D); in hasAcceptableDefaultArgument()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 3657 template <typename ParmDecl> 3658 static bool inheritDefaultTemplateArgument(ASTContext &Context, ParmDecl *From, in inheritDefaultTemplateArgument() 3660 auto *To = cast<ParmDecl>(ToD); in inheritDefaultTemplateArgument()
|