Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclTemplate.h286 template<typename ParmDecl, typename ArgType>
292 ParmDecl *PrevDeclWithDefaultArg;
298 llvm::PointerUnion3<ArgType, ParmDecl*, Chain*> ValueOrInherited;
300 static ParmDecl *getParmOwningDefaultArg(ParmDecl *Parm) { in getParmOwningDefaultArg()
302 if (auto *Prev = Storage.ValueOrInherited.template dyn_cast<ParmDecl *>()) in getParmOwningDefaultArg()
305 .ValueOrInherited.template is<ParmDecl *>() && in getParmOwningDefaultArg()
318 bool isInherited() const { return ValueOrInherited.template is<ParmDecl*>(); } in isInherited()
324 if (const auto *Prev = ValueOrInherited.template dyn_cast<ParmDecl *>()) in get()
333 const ParmDecl *getInheritedFrom() const { in getInheritedFrom()
334 if (const auto *D = ValueOrInherited.template dyn_cast<ParmDecl *>()) in getInheritedFrom()
[all …]
H A DASTContext.h1434 TemplateTypeParmDecl *ParmDecl = nullptr) const;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseObjc.cpp1475 Declarator ParmDecl(DS, DeclaratorContext::PrototypeContext); in ParseObjCMethodDecl() local
1476 ParseDeclarator(ParmDecl); in ParseObjCMethodDecl()
1477 IdentifierInfo *ParmII = ParmDecl.getIdentifier(); in ParseObjCMethodDecl()
1478 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDecl); in ParseObjCMethodDecl()
1480 ParmDecl.getIdentifierLoc(), in ParseObjCMethodDecl()
2517 Declarator ParmDecl(DS, DeclaratorContext::ObjCCatchContext); in ParseObjCTryStmt() local
2518 ParseDeclarator(ParmDecl); in ParseObjCTryStmt()
2522 FirstPart = Actions.ActOnObjCExceptionDecl(getCurScope(), ParmDecl); in ParseObjCTryStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaLookup.cpp1416 template<typename ParmDecl>
1418 hasVisibleDefaultArgument(Sema &S, const ParmDecl *D, in hasVisibleDefaultArgument()
1429 auto *NonConstD = const_cast<ParmDecl*>(D); in hasVisibleDefaultArgument()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp3512 template <typename ParmDecl>
3513 static bool inheritDefaultTemplateArgument(ASTContext &Context, ParmDecl *From, in inheritDefaultTemplateArgument()
3515 auto *To = cast<ParmDecl>(ToD); in inheritDefaultTemplateArgument()