[PATCH] D45676: [ADT] Remove ilist_default_traits
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 15 15:00:30 PDT 2018
MaskRay created this revision.
MaskRay added a reviewer: dexonsmith.
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D45676
Files:
include/llvm/ADT/ilist.h
Index: include/llvm/ADT/ilist.h
===================================================================
--- include/llvm/ADT/ilist.h
+++ include/llvm/ADT/ilist.h
@@ -84,21 +84,11 @@
struct ilist_node_traits : ilist_alloc_traits<NodeTy>,
ilist_callback_traits<NodeTy> {};
-/// Default template traits for intrusive list.
-///
-/// By inheriting from this, you can easily use default implementations for all
-/// common operations.
-///
-/// TODO: Remove this customization point. Specializing ilist_traits is
-/// already fully general.
-template <typename NodeTy>
-struct ilist_default_traits : public ilist_node_traits<NodeTy> {};
-
/// Template traits for intrusive list.
///
/// Customize callbacks and allocation semantics.
template <typename NodeTy>
-struct ilist_traits : public ilist_default_traits<NodeTy> {};
+struct ilist_traits : public ilist_node_traits<NodeTy> {};
/// Const traits should never be instantiated.
template <typename Ty> struct ilist_traits<const Ty> {};
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45676.142584.patch
Type: text/x-patch
Size: 1018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180415/e83f98d0/attachment.bin>
More information about the llvm-commits
mailing list