Searched refs:ValueOrInherited (Results 1 – 2 of 2) sorted by relevance
261 llvm::PointerUnion3<ArgType, ParmDecl*, Chain*> ValueOrInherited; variable265 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 …]
323 llvm::PointerUnion<ArgType, ParmDecl*, Chain*> ValueOrInherited; variable327 if (auto *Prev = Storage.ValueOrInherited.template dyn_cast<ParmDecl *>()) in getParmOwningDefaultArg()330 .ValueOrInherited.template is<ParmDecl *>() && in getParmOwningDefaultArg()336 DefaultArgStorage() : ValueOrInherited(ArgType()) {} in DefaultArgStorage()339 bool isSet() const { return !ValueOrInherited.isNull(); } in isSet()343 bool isInherited() const { return ValueOrInherited.template is<ParmDecl*>(); } in isInherited()349 if (const auto *Prev = ValueOrInherited.template dyn_cast<ParmDecl *>()) in get()351 if (const auto *C = Storage->ValueOrInherited.template dyn_cast<Chain *>()) in get()353 return Storage->ValueOrInherited.template get<ArgType>(); in get()359 if (const auto *D = ValueOrInherited.template dyn_cast<ParmDecl *>()) in getInheritedFrom()[all …]