Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: include/__tree

Issue 2574553002: [counting-allocator] macOS buildtools/third_party/libc++/trunk/ changes.
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/__hash_table ('k') | include/deque » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // -*- C++ -*- 1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===// 2 //===----------------------------------------------------------------------===//
3 // 3 //
4 // The LLVM Compiler Infrastructure 4 // The LLVM Compiler Infrastructure
5 // 5 //
6 // This file is dual licensed under the MIT and the University of Illinois Open 6 // This file is dual licensed under the MIT and the University of Illinois Open
7 // Source Licenses. See LICENSE.TXT for details. 7 // Source Licenses. See LICENSE.TXT for details.
8 // 8 //
9 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===//
10 10
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 typedef allocator_traits<allocator_type> __alloc_traits; 795 typedef allocator_traits<allocator_type> __alloc_traits;
796 typedef typename __alloc_traits::pointer pointer; 796 typedef typename __alloc_traits::pointer pointer;
797 typedef typename __alloc_traits::const_pointer const_pointer; 797 typedef typename __alloc_traits::const_pointer const_pointer;
798 typedef typename __alloc_traits::size_type size_type; 798 typedef typename __alloc_traits::size_type size_type;
799 typedef typename __alloc_traits::difference_type difference_type; 799 typedef typename __alloc_traits::difference_type difference_type;
800 800
801 typedef typename __alloc_traits::void_pointer __void_pointer; 801 typedef typename __alloc_traits::void_pointer __void_pointer;
802 802
803 typedef __tree_node<value_type, __void_pointer> __node; 803 typedef __tree_node<value_type, __void_pointer> __node;
804 typedef __tree_node_base<__void_pointer> __node_base; 804 typedef __tree_node_base<__void_pointer> __node_base;
805 typedef typename __rebind_alloc_helper<__alloc_traits, __node>::type __node_ allocator; 805 typedef typename __rebind_counting_alloc_helper<__alloc_traits, __node>::typ e __node_allocator;
806 typedef allocator_traits<__node_allocator> __node_traits; 806 typedef allocator_traits<__node_allocator> __node_traits;
807 typedef typename __node_traits::pointer __node_pointer; 807 typedef typename __node_traits::pointer __node_pointer;
808 typedef typename __node_traits::pointer __node_const_pointer; 808 typedef typename __node_traits::pointer __node_const_pointer;
809 typedef typename __node_base::pointer __node_base_pointer; 809 typedef typename __node_base::pointer __node_base_pointer;
810 typedef typename __node_base::pointer __node_base_const_pointer; 810 typedef typename __node_base::pointer __node_base_const_pointer;
811 private: 811 private:
812 typedef typename __node_base::base __end_node_t; 812 typedef typename __node_base::base __end_node_t;
813 typedef typename pointer_traits<__node_pointer>::template 813 typedef typename pointer_traits<__node_pointer>::template
814 #ifndef _LIBCPP_HAS_NO_TEMPLATE_ALIASES 814 #ifndef _LIBCPP_HAS_NO_TEMPLATE_ALIASES
815 rebind<__end_node_t> 815 rebind<__end_node_t>
(...skipping 1472 matching lines...) Expand 10 before | Expand all | Expand 10 after
2288 swap(__tree<_Tp, _Compare, _Allocator>& __x, 2288 swap(__tree<_Tp, _Compare, _Allocator>& __x,
2289 __tree<_Tp, _Compare, _Allocator>& __y) 2289 __tree<_Tp, _Compare, _Allocator>& __y)
2290 _NOEXCEPT_(_NOEXCEPT_(__x.swap(__y))) 2290 _NOEXCEPT_(_NOEXCEPT_(__x.swap(__y)))
2291 { 2291 {
2292 __x.swap(__y); 2292 __x.swap(__y);
2293 } 2293 }
2294 2294
2295 _LIBCPP_END_NAMESPACE_STD 2295 _LIBCPP_END_NAMESPACE_STD
2296 2296
2297 #endif // _LIBCPP___TREE 2297 #endif // _LIBCPP___TREE
OLDNEW
« no previous file with comments | « include/__hash_table ('k') | include/deque » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698