Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DDeclTemplate.h261 llvm::PointerUnion3<ArgType, ParmDecl*, Chain*> ValueOrInherited; variable
265 if (auto *Prev = Storage.ValueOrInherited.template dyn_cast<ParmDecl*>()) in getParmOwningDefaultArg()
268 .ValueOrInherited.template is<ParmDecl *>() && in getParmOwningDefaultArg()
274 DefaultArgStorage() : ValueOrInherited(ArgType()) {} in DefaultArgStorage()
277 bool isSet() const { return !ValueOrInherited.isNull(); } in isSet()
280 bool isInherited() const { return ValueOrInherited.template is<ParmDecl*>(); } in isInherited()
285 if (auto *Prev = ValueOrInherited.template dyn_cast<ParmDecl*>()) in get()
287 if (auto *C = Storage->ValueOrInherited.template dyn_cast<Chain*>()) in get()
289 return Storage->ValueOrInherited.template get<ArgType>(); in get()
294 if (auto *D = ValueOrInherited.template dyn_cast<ParmDecl*>()) in getInheritedFrom()
[all …]