Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclTemplate.h324 llvm::PointerUnion<ArgType, ParmDecl*, Chain*> ValueOrInherited; variable
328 if (auto *Prev = Storage.ValueOrInherited.template dyn_cast<ParmDecl *>()) in getParmOwningDefaultArg()
331 .ValueOrInherited.template is<ParmDecl *>() && in getParmOwningDefaultArg()
337 DefaultArgStorage() : ValueOrInherited(ArgType()) {} in DefaultArgStorage()
340 bool isSet() const { return !ValueOrInherited.isNull(); } in isSet()
344 bool isInherited() const { return ValueOrInherited.template is<ParmDecl*>(); } in isInherited()
350 if (const auto *Prev = ValueOrInherited.template dyn_cast<ParmDecl *>()) in get()
352 if (const auto *C = Storage->ValueOrInherited.template dyn_cast<Chain *>()) in get()
354 return Storage->ValueOrInherited.template get<ArgType>(); in get()
360 if (const auto *D = ValueOrInherited.template dyn_cast<ParmDecl *>()) in getInheritedFrom()
[all …]