Searched refs:ParmDecl (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclTemplate.h | 301 template<typename ParmDecl, typename ArgType> 307 ParmDecl *PrevDeclWithDefaultArg; 313 llvm::PointerUnion<ArgType, ParmDecl*, Chain*> ValueOrInherited; 315 static ParmDecl *getParmOwningDefaultArg(ParmDecl *Parm) { in getParmOwningDefaultArg() 317 if (auto *Prev = Storage.ValueOrInherited.template dyn_cast<ParmDecl *>()) in getParmOwningDefaultArg() 319 assert(!isa<ParmDecl *>(Parm->getDefaultArgStorage().ValueOrInherited) && in getParmOwningDefaultArg() 332 bool isInherited() const { return isa<ParmDecl *>(ValueOrInherited); } in isInherited() 338 if (const auto *Prev = ValueOrInherited.template dyn_cast<ParmDecl *>()) in get() 347 const ParmDecl *getInheritedFrom() const { in getInheritedFrom() 348 if (const auto *D = ValueOrInherited.template dyn_cast<ParmDecl *>()) in getInheritedFrom() [all …]
|
| H A D | ASTContext.h | 1864 TemplateTypeParmDecl *ParmDecl = nullptr) const;
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 1316 Declarator ParmDecl(DS, ParsedAttributesView::none(), in ParseObjCMethodDecl() local 1318 ParseDeclarator(ParmDecl); in ParseObjCMethodDecl() 1319 const IdentifierInfo *ParmII = ParmDecl.getIdentifier(); in ParseObjCMethodDecl() 1320 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDecl); in ParseObjCMethodDecl() 1322 ParmDecl.getIdentifierLoc(), in ParseObjCMethodDecl() 2294 Declarator ParmDecl(DS, ParsedAttributesView::none(), in ParseObjCTryStmt() local 2296 ParseDeclarator(ParmDecl); in ParseObjCTryStmt() 2301 Actions.ObjC().ActOnObjCExceptionDecl(getCurScope(), ParmDecl); in ParseObjCTryStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDeclAttr.cpp | 632 if (const auto *ParmDecl = dyn_cast<ParmVarDecl>(D); in handleLocksExcludedAttr() local 633 ParmDecl && !checkFunParamsAreScopedLockable(S, ParmDecl, AL)) in handleLocksExcludedAttr() 6413 if (const auto *ParmDecl = dyn_cast<ParmVarDecl>(D); in handleAcquireCapabilityAttr() local 6414 ParmDecl && !checkFunParamsAreScopedLockable(S, ParmDecl, AL)) in handleAcquireCapabilityAttr() 6437 if (const auto *ParmDecl = dyn_cast<ParmVarDecl>(D); in handleReleaseCapabilityAttr() local 6438 ParmDecl && !checkFunParamsAreScopedLockable(S, ParmDecl, AL)) in handleReleaseCapabilityAttr() 6450 if (const auto *ParmDecl = dyn_cast<ParmVarDecl>(D); in handleRequiresCapabilityAttr() local 6451 ParmDecl && !checkFunParamsAreScopedLockable(S, ParmDecl, AL)) in handleRequiresCapabilityAttr()
|
| H A D | SemaLookup.cpp | 1690 template <typename ParmDecl> 1692 hasAcceptableDefaultArgument(Sema &S, const ParmDecl *D, in hasAcceptableDefaultArgument() 1698 llvm::SmallPtrSet<const ParmDecl *, 4> Visited; in hasAcceptableDefaultArgument() 1705 auto *NonConstD = const_cast<ParmDecl*>(D); in hasAcceptableDefaultArgument()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 3707 template <typename ParmDecl> 3708 static bool inheritDefaultTemplateArgument(ASTContext &Context, ParmDecl *From, in inheritDefaultTemplateArgument() 3710 auto *To = cast<ParmDecl>(ToD); in inheritDefaultTemplateArgument()
|