1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[ADT] Delete unused llvm::pointer_union_detail::AssignableFrom

Noticed by Zhiwei Chen
This commit is contained in:
Fangrui Song 2020-07-22 09:23:52 -07:00
parent c7f7d9e600
commit b4f9e0d70d

View File

@ -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;