forked from OSchip/llvm-project
[ADT] Delete unused llvm::pointer_union_detail::AssignableFrom
Noticed by Zhiwei Chen
This commit is contained in:
parent
44a6bda19b
commit
25203e7e3e
|
@ -93,13 +93,6 @@ namespace pointer_union_detail {
|
|||
static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>();
|
||||
};
|
||||
|
||||
/// Implement assignment in terms of construction.
|
||||
template <typename Derived, typename T> struct AssignableFrom {
|
||||
Derived &operator=(T t) {
|
||||
return static_cast<Derived &>(*this) = Derived(t);
|
||||
}
|
||||
};
|
||||
|
||||
template <typename Derived, typename ValTy, int I, typename ...Types>
|
||||
class PointerUnionMembers;
|
||||
|
||||
|
|
Loading…
Reference in New Issue