mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-23 17:32:49 +00:00
Lang verified that SlotIndex is "pod like" even though it isn't a pod.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91423 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4bbf4ee149
commit
729a8acc9f
@ -329,7 +329,6 @@ namespace llvm {
|
||||
};
|
||||
|
||||
/// DenseMapInfo specialization for SlotIndex.
|
||||
/// TODO: Not a POD?
|
||||
template <>
|
||||
struct DenseMapInfo<SlotIndex> {
|
||||
static inline SlotIndex getEmptyKey() {
|
||||
@ -345,6 +344,9 @@ namespace llvm {
|
||||
return (LHS == RHS);
|
||||
}
|
||||
};
|
||||
|
||||
template <> struct isPodLike<SlotIndex> { static const bool value = true; };
|
||||
|
||||
|
||||
inline raw_ostream& operator<<(raw_ostream &os, SlotIndex li) {
|
||||
li.print(os);
|
||||
|
Loading…
x
Reference in New Issue
Block a user