ADT: Remove uses of ilist_*sentinel_traits, NFC

llvm-svn: 279458
This commit is contained in:
Duncan P. N. Exon Smith
2016-08-22 18:59:33 +00:00
parent 475e1dc7f2
commit c9e8bc191c
2 changed files with 0 additions and 19 deletions

View File

@@ -141,21 +141,6 @@ private:
Addend _addend;
};
} // end namespace lld
// ilist will lazily create a sentinal (so end() can return a node past the end
// of the list). This trait embeds the sentinel in the ilist to avoid the lazy
// logic.
namespace llvm {
template <>
struct ilist_sentinel_traits<lld::SimpleReference>
: public ilist_full_embedded_sentinel_traits<lld::SimpleReference> {};
} // end namespace llvm
namespace lld {
class SimpleDefinedAtom : public DefinedAtom {
public:
explicit SimpleDefinedAtom(const File &f)

View File

@@ -67,10 +67,6 @@ struct TrieEdge : public llvm::ilist_node<TrieEdge> {
namespace llvm {
using lld::mach_o::normalized::TrieEdge;
template <>
struct ilist_sentinel_traits<TrieEdge>
: public ilist_half_embedded_sentinel_traits<TrieEdge> {};
template <>
struct ilist_traits<TrieEdge> : public ilist_default_traits<TrieEdge> {
void deleteNode(TrieEdge *N) {}