Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclTemplate.h312 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 DASTContext.h1497 TemplateTypeParmDecl *ParmDecl = nullptr) const;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseObjc.cpp1490 Declarator ParmDecl(DS, DeclaratorContext::Prototype); in ParseObjCMethodDecl() local
1491 ParseDeclarator(ParmDecl); in ParseObjCMethodDecl()
1492 IdentifierInfo *ParmII = ParmDecl.getIdentifier(); in ParseObjCMethodDecl()
1493 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDecl); in ParseObjCMethodDecl()
1495 ParmDecl.getIdentifierLoc(), in ParseObjCMethodDecl()
2542 Declarator ParmDecl(DS, DeclaratorContext::ObjCCatch); in ParseObjCTryStmt() local
2543 ParseDeclarator(ParmDecl); in ParseObjCTryStmt()
2547 FirstPart = Actions.ActOnObjCExceptionDecl(getCurScope(), ParmDecl); in ParseObjCTryStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaLookup.cpp1581 template<typename ParmDecl>
1583 hasVisibleDefaultArgument(Sema &S, const ParmDecl *D, in hasVisibleDefaultArgument()
1594 auto *NonConstD = const_cast<ParmDecl*>(D); in hasVisibleDefaultArgument()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderDecl.cpp3651 template <typename ParmDecl>
3652 static bool inheritDefaultTemplateArgument(ASTContext &Context, ParmDecl *From, in inheritDefaultTemplateArgument()
3654 auto *To = cast<ParmDecl>(ToD); in inheritDefaultTemplateArgument()