Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclTemplate.h313 llvm::PointerUnion<ArgType, ParmDecl*, Chain*> ValueOrInherited; variable
317 if (auto *Prev = Storage.ValueOrInherited.template dyn_cast<ParmDecl *>()) in getParmOwningDefaultArg()
319 assert(!isa<ParmDecl *>(Parm->getDefaultArgStorage().ValueOrInherited) && in getParmOwningDefaultArg()
325 DefaultArgStorage() : ValueOrInherited(ArgType()) {} in DefaultArgStorage()
328 bool isSet() const { return !ValueOrInherited.isNull(); } in isSet()
332 bool isInherited() const { return isa<ParmDecl *>(ValueOrInherited); } in isInherited()
338 if (const auto *Prev = ValueOrInherited.template dyn_cast<ParmDecl *>()) in get()
340 if (const auto *C = Storage->ValueOrInherited.template dyn_cast<Chain *>()) in get()
342 return cast<ArgType>(Storage->ValueOrInherited); in get()
348 if (const auto *D = ValueOrInherited.template dyn_cast<ParmDecl *>()) in getInheritedFrom()
[all …]