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:
parent
c7f7d9e600
commit
b4f9e0d70d
@ -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
Block a user