Searched refs:ParmDecl (Results 1 – 5 of 5) sorted by relevance
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | DeclTemplate.h | 312 template<typename ParmDecl, typename ArgType> 318 ParmDecl *PrevDeclWithDefaultArg; 324 llvm::PointerUnion<ArgType, ParmDecl*, Chain*> ValueOrInherited; 326 static ParmDecl *getParmOwningDefaultArg(ParmDecl *Parm) { in getParmOwningDefaultArg() 328 if (auto *Prev = Storage.ValueOrInherited.template dyn_cast<ParmDecl *>()) in getParmOwningDefaultArg() 331 .ValueOrInherited.template is<ParmDecl *>() && in getParmOwningDefaultArg() 344 bool isInherited() const { return ValueOrInherited.template is<ParmDecl*>(); } in isInherited() 350 if (const auto *Prev = ValueOrInherited.template dyn_cast<ParmDecl *>()) in get() 359 const ParmDecl *getInheritedFrom() const { in getInheritedFrom() 360 if (const auto *D = ValueOrInherited.template dyn_cast<ParmDecl *>()) in getInheritedFrom() [all …]
|
| H A D | ASTContext.h | 1601 TemplateTypeParmDecl *ParmDecl = nullptr) const;
|
| /openbsd-src/gnu/llvm/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 1528 Declarator ParmDecl(DS, ParsedAttributesView::none(), in ParseObjCMethodDecl() local 1530 ParseDeclarator(ParmDecl); in ParseObjCMethodDecl() 1531 IdentifierInfo *ParmII = ParmDecl.getIdentifier(); in ParseObjCMethodDecl() 1532 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDecl); in ParseObjCMethodDecl() 1534 ParmDecl.getIdentifierLoc(), in ParseObjCMethodDecl() 2595 Declarator ParmDecl(DS, ParsedAttributesView::none(), in ParseObjCTryStmt() local 2597 ParseDeclarator(ParmDecl); in ParseObjCTryStmt() 2601 FirstPart = Actions.ActOnObjCExceptionDecl(getCurScope(), ParmDecl); in ParseObjCTryStmt()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 1619 template <typename ParmDecl> 1621 hasAcceptableDefaultArgument(Sema &S, const ParmDecl *D, in hasAcceptableDefaultArgument() 1627 llvm::SmallPtrSet<const ParmDecl *, 4> Visited; in hasAcceptableDefaultArgument() 1634 auto *NonConstD = const_cast<ParmDecl*>(D); in hasAcceptableDefaultArgument()
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 3514 template <typename ParmDecl> 3515 static bool inheritDefaultTemplateArgument(ASTContext &Context, ParmDecl *From, in inheritDefaultTemplateArgument() 3517 auto *To = cast<ParmDecl>(ToD); in inheritDefaultTemplateArgument()
|