Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DTypeSwitch.h25 template <typename DerivedT, typename T> class TypeSwitchBase {
27 TypeSwitchBase(const T &value) : value(value) {} in TypeSwitchBase() function
28 TypeSwitchBase(TypeSwitchBase &&other) : value(other.value) {} in TypeSwitchBase() function
29 ~TypeSwitchBase() = default;
32 TypeSwitchBase(const TypeSwitchBase &) = delete;
33 void operator=(const TypeSwitchBase &) = delete;
34 void operator=(TypeSwitchBase &&other) = delete;
87 class TypeSwitch : public detail::TypeSwitchBase<TypeSwitch<T, ResultT>, T> {
89 using BaseT = detail::TypeSwitchBase<TypeSwitch<T, ResultT>, T>;
134 : public detail::TypeSwitchBase<TypeSwitch<T, void>, T> {
[all …]