Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/libc++/dist/libcxx Import libc++ r215289. This ...
details: https://anonhg.NetBSD.org/src/rev/93c5a3073519
branches: trunk
changeset: 331369:93c5a3073519
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Aug 09 19:03:43 2014 +0000
description:
Import libc++ r215289. This brings a number of bug fixes as well as
further changes from the upcoming C++14 like string_view.
diffstat:
external/bsd/libc++/dist/libcxx/include/__config | 48 +-
external/bsd/libc++/dist/libcxx/include/__functional_03 | 21 +-
external/bsd/libc++/dist/libcxx/include/__functional_base_03 | 6 +-
external/bsd/libc++/dist/libcxx/include/__locale | 20 +-
external/bsd/libc++/dist/libcxx/include/__sso_allocator | 4 +-
external/bsd/libc++/dist/libcxx/include/__tuple | 26 +
external/bsd/libc++/dist/libcxx/include/algorithm | 142 +-
external/bsd/libc++/dist/libcxx/include/bitset | 4 +-
external/bsd/libc++/dist/libcxx/include/experimental/__config | 24 +
external/bsd/libc++/dist/libcxx/include/experimental/dynarray | 30 +-
external/bsd/libc++/dist/libcxx/include/experimental/string_view | 814 +
external/bsd/libc++/dist/libcxx/include/experimental/utility | 44 +
external/bsd/libc++/dist/libcxx/include/forward_list | 3 +-
external/bsd/libc++/dist/libcxx/include/functional | 8 +-
external/bsd/libc++/dist/libcxx/include/limits | 4 +-
external/bsd/libc++/dist/libcxx/include/list | 86 +-
external/bsd/libc++/dist/libcxx/include/locale | 18 +-
external/bsd/libc++/dist/libcxx/include/memory | 36 +-
external/bsd/libc++/dist/libcxx/include/mutex | 2 +-
external/bsd/libc++/dist/libcxx/include/new | 20 +
external/bsd/libc++/dist/libcxx/include/regex | 11 +-
external/bsd/libc++/dist/libcxx/include/string | 213 +-
external/bsd/libc++/dist/libcxx/include/tuple | 35 +-
external/bsd/libc++/dist/libcxx/include/type_traits | 169 +-
external/bsd/libc++/dist/libcxx/include/utility | 4 +-
external/bsd/libc++/dist/libcxx/include/valarray | 37 +-
external/bsd/libc++/dist/libcxx/include/vector | 6 +-
external/bsd/libc++/dist/libcxx/src/ios.cpp | 4 +-
external/bsd/libc++/dist/libcxx/src/locale.cpp | 6 +-
external/bsd/libc++/dist/libcxx/src/random.cpp | 19 +-
external/bsd/libc++/dist/libcxx/src/regex.cpp | 6 +-
external/bsd/libc++/dist/libcxx/src/system_error.cpp | 9 +
external/bsd/libc++/dist/libcxx/src/thread.cpp | 4 +-
external/bsd/libc++/dist/libcxx/test/algorithms/alg.modifying.operations/alg.remove/remove_if.pass.cpp | 8 +-
external/bsd/libc++/dist/libcxx/test/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap_comp.pass.cpp | 37 +
external/bsd/libc++/dist/libcxx/test/algorithms/alg.sorting/alg.min.max/minmax.pass.cpp | 2 +-
external/bsd/libc++/dist/libcxx/test/algorithms/alg.sorting/alg.min.max/minmax_comp.pass.cpp | 2 +-
external/bsd/libc++/dist/libcxx/test/atomics/atomics.types.generic/trivially_copyable.fail.cpp | 70 +
external/bsd/libc++/dist/libcxx/test/atomics/atomics.types.generic/trivially_copyable.pass.cpp | 71 +
external/bsd/libc++/dist/libcxx/test/containers/associative/map/types.pass.cpp | 47 +-
external/bsd/libc++/dist/libcxx/test/containers/associative/multimap/types.pass.cpp | 47 +-
external/bsd/libc++/dist/libcxx/test/containers/associative/multiset/types.pass.cpp | 47 +-
external/bsd/libc++/dist/libcxx/test/containers/associative/set/types.pass.cpp | 47 +-
external/bsd/libc++/dist/libcxx/test/containers/sequences/deque/deque.capacity/resize_size.pass.cpp | 2 +-
external/bsd/libc++/dist/libcxx/test/containers/sequences/deque/deque.capacity/resize_size_value.pass.cpp | 2 +-
external/bsd/libc++/dist/libcxx/test/containers/sequences/deque/types.pass.cpp | 3 +-
external/bsd/libc++/dist/libcxx/test/containers/sequences/forwardlist/forwardlist.ops/remove.pass.cpp | 37 +
external/bsd/libc++/dist/libcxx/test/containers/sequences/forwardlist/forwardlist.ops/remove_if.pass.cpp | 52 +-
external/bsd/libc++/dist/libcxx/test/containers/sequences/forwardlist/types.pass.cpp | 39 +-
external/bsd/libc++/dist/libcxx/test/containers/sequences/list/list.ops/remove.pass.cpp | 32 +
external/bsd/libc++/dist/libcxx/test/containers/sequences/list/list.ops/remove_if.pass.cpp | 25 +-
external/bsd/libc++/dist/libcxx/test/containers/unord/unord.map/types.pass.cpp | 3 +-
external/bsd/libc++/dist/libcxx/test/containers/unord/unord.multimap/types.pass.cpp | 3 +-
external/bsd/libc++/dist/libcxx/test/containers/unord/unord.multiset/types.pass.cpp | 3 +-
external/bsd/libc++/dist/libcxx/test/containers/unord/unord.set/types.pass.cpp | 3 +-
external/bsd/libc++/dist/libcxx/test/depr/depr.c.headers/math_h.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp | 4 +-
external/bsd/libc++/dist/libcxx/test/experimental/nothing_to_do.pass.cpp | 12 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/nothing_to_do.pass.cpp | 12 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.access/at.pass.cpp | 54 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.access/back.pass.cpp | 48 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.access/data.pass.cpp | 48 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.access/front.pass.cpp | 48 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.access/index.pass.cpp | 51 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.capacity/capacity.pass.cpp | 87 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/opeq.string_view.pointer.pass.cpp | 68 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/opeq.string_view.string.pass.cpp | 54 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/opeq.string_view.string_view.pass.cpp | 61 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/opge.string_view.pointer.pass.cpp | 71 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/opge.string_view.string.pass.cpp | 50 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/opge.string_view.string_view.pass.cpp | 64 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/opgt.string_view.pointer.pass.cpp | 71 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/opgt.string_view.string.pass.cpp | 50 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/opgt.string_view.string_view.pass.cpp | 64 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/ople.string_view.pointer.pass.cpp | 71 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/ople.string_view.string.pass.cpp | 50 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/ople.string_view.string_view.pass.cpp | 64 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/oplt.string_view.pointer.pass.cpp | 71 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/oplt.string_view.string.pass.cpp | 50 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/oplt.string_view.string_view.pass.cpp | 64 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/opne.string_view.pointer.pass.cpp | 69 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/opne.string_view.string.pass.cpp | 49 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.comparison/opne.string_view.string_view.pass.cpp | 61 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.cons/default.pass.cpp | 46 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.cons/from_literal.pass.cpp | 64 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp | 81 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.cons/from_string.pass.cpp | 54 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.cons/from_string1.fail.cpp | 32 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.cons/from_string2.fail.cpp | 32 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_char_size.pass.cpp | 84 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_first_not_of_char_size.pass.cpp | 84 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_first_not_of_pointer_size.pass.cpp | 165 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp | 392 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_first_not_of_string_view_size.pass.cpp | 148 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_first_of_char_size.pass.cpp | 82 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_first_of_pointer_size.pass.cpp | 165 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp | 392 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_first_of_string_view_size.pass.cpp | 148 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_last_not_of_char_size.pass.cpp | 82 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp | 165 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp | 392 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_last_not_of_string_view_size.pass.cpp | 148 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_last_of_char_size.pass.cpp | 82 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_last_of_pointer_size.pass.cpp | 165 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp | 392 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_last_of_string_view_size.pass.cpp | 148 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_pointer_size.pass.cpp | 171 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_pointer_size_size.pass.cpp | 393 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/find_string_view_size.pass.cpp | 164 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/rfind_char_size.pass.cpp | 83 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/rfind_pointer_size.pass.cpp | 171 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/rfind_pointer_size_size.pass.cpp | 392 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/rfind_string_view_size.pass.cpp | 164 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.hash/string_view.pass.cpp | 55 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.io/stream_insert.pass.cpp | 58 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.iterators/begin.pass.cpp | 77 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.iterators/end.pass.cpp | 85 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.iterators/rbegin.pass.cpp | 59 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.iterators/rend.pass.cpp | 66 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.modifiers/clear.pass.cpp | 65 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.modifiers/remove_prefix.pass.cpp | 79 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.modifiers/remove_suffix.pass.cpp | 79 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.modifiers/swap.pass.cpp | 74 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.nonmem/quoted.pass.cpp | 212 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.ops/basic_string.pass.cpp | 63 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.ops/compare.pointer.pass.cpp | 126 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.ops/compare.pointer_size.pass.cpp | 444 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.ops/compare.size_size_sv.pass.cpp | 397 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.ops/compare.size_size_sv_pointer_size.pass.cpp | 1349 ++
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.ops/compare.size_size_sv_size_size.pass.cpp | 5843 ++++++++++
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.ops/compare.sv.pass.cpp | 121 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.ops/copy.pass.cpp | 92 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.ops/substr.pass.cpp | 107 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.ops/to_string.pass.cpp | 77 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.synop/nothing_to_do.pass.cpp | 12 +
external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.template/nothing_to_do.pass.cpp | 12 +
external/bsd/libc++/dist/libcxx/test/experimental/utilities/nothing_to_do.pass.cpp | 13 +
external/bsd/libc++/dist/libcxx/test/experimental/utilities/utility/utility.erased.type/erased_type.pass.cpp | 17 +
external/bsd/libc++/dist/libcxx/test/experimental/utilities/utility/utility.synop/includes.pass.cpp | 20 +
external/bsd/libc++/dist/libcxx/test/experimental/utilities/utility/version.pass.cpp | 20 +
external/bsd/libc++/dist/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp | 17 -
external/bsd/libc++/dist/libcxx/test/input.output/iostreams.base/ios/basic.ios.members/copyfmt.pass.cpp | 3 +
external/bsd/libc++/dist/libcxx/test/input.output/iostreams.base/ios/basic.ios.members/move.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/input.output/iostreams.base/ios/basic.ios.members/swap.pass.cpp | 3 +
external/bsd/libc++/dist/libcxx/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.locales/locales.pass.cpp | 3 +
external/bsd/libc++/dist/libcxx/test/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp | 16 +-
external/bsd/libc++/dist/libcxx/test/lit.cfg | 39 +-
external/bsd/libc++/dist/libcxx/test/lit.site.cfg.in | 2 +-
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/dtor.pass.cpp | 2 +-
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_1.pass.cpp | 3 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_many.pass.cpp | 3 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_ru_RU.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_ru_RU.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/decimal_point.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/frac_digits.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/grouping.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/neg_format.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/negative_sign.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/pos_format.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/positive_sign.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/thousands_sep.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/date_order.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/date_order_wide.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_date.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_date_wide.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_one.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_one_wide.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_time.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_time_wide.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_weekday.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_weekday_wide.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_year.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_year_wide.pass.cpp | 5 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp | 3 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/decimal_point.pass.cpp | 3 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/grouping.pass.cpp | 3 +
external/bsd/libc++/dist/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp | 3 +
external/bsd/libc++/dist/libcxx/test/localization/locales/locale/locale.cons/assign.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/localization/locales/locale/locale.cons/char_pointer.pass.cpp | 3 +
external/bsd/libc++/dist/libcxx/test/localization/locales/locale/locale.cons/copy.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/localization/locales/locale/locale.cons/locale_char_pointer_cat.pass.cpp | 3 +
external/bsd/libc++/dist/libcxx/test/localization/locales/locale/locale.cons/locale_facetptr.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/localization/locales/locale/locale.cons/locale_locale_cat.pass.cpp | 3 +
external/bsd/libc++/dist/libcxx/test/localization/locales/locale/locale.cons/locale_string_cat.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/localization/locales/locale/locale.cons/string.pass.cpp | 3 +
external/bsd/libc++/dist/libcxx/test/numerics/c.math/cmath.pass.cpp | 29 +-
external/bsd/libc++/dist/libcxx/test/numerics/c.math/cmath_isinf.pass.cpp | 30 +
external/bsd/libc++/dist/libcxx/test/numerics/c.math/cmath_isnan.pass.cpp | 30 +
external/bsd/libc++/dist/libcxx/test/numerics/rand/rand.device/ctor.pass.cpp | 11 +
external/bsd/libc++/dist/libcxx/test/numerics/rand/rand.device/eval.pass.cpp | 16 +-
external/bsd/libc++/dist/libcxx/test/re/re.alg/re.alg.match/basic.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/re/re.alg/re.alg.match/ecma.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/re/re.alg/re.alg.match/extended.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/re/re.alg/re.alg.search/awk.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/re/re.alg/re.alg.search/basic.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/re/re.alg/re.alg.search/ecma.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/re/re.alg/re.alg.search/extended.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/re/re.traits/lookup_classname.pass.cpp | 4 +-
external/bsd/libc++/dist/libcxx/test/re/re.traits/lookup_collatename.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/re/re.traits/transform.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/re/re.traits/transform_primary.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/basic.string/string.cons/move_alloc.pass.cpp | 10 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign2.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/compare.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq_int_type.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/length.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/lt.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/not_eof.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_char_type.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_int_type.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign2.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/compare.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq_int_type.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/length.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/lt.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/not_eof.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_char_type.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_int_type.pass.cpp | 2 +
external/bsd/libc++/dist/libcxx/test/support/constexpr_char_traits.hpp | 138 +
external/bsd/libc++/dist/libcxx/test/support/counting_predicates.hpp | 46 +
external/bsd/libc++/dist/libcxx/test/support/nothing_to_do.pass.cpp | 1 +
external/bsd/libc++/dist/libcxx/test/thread/futures/futures.future_error/what.pass.cpp | 6 +-
external/bsd/libc++/dist/libcxx/test/thread/thread.threads/thread.thread.this/sleep_for.pass.cpp | 20 +
external/bsd/libc++/dist/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy.pass.cpp | 12 +
external/bsd/libc++/dist/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/no-variadics.pass.cpp | 24 +
external/bsd/libc++/dist/libcxx/test/utilities/function.objects/refwrap/refwrap.helpers/ref_2.pass.cpp | 18 +
external/bsd/libc++/dist/libcxx/test/utilities/meta/meta.trans/meta.trans.other/aligned_storage.pass.cpp | 14 +-
external/bsd/libc++/dist/libcxx/test/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp | 12 +
external/bsd/libc++/dist/libcxx/test/utilities/meta/meta.unary/meta.unary.prop/is_destructible.pass.cpp | 56 +-
external/bsd/libc++/dist/libcxx/test/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_destructible.pass.cpp | 10 +-
external/bsd/libc++/dist/libcxx/test/utilities/meta/meta.unary/meta.unary.prop/is_trivially_destructible.pass.cpp | 10 +-
external/bsd/libc++/dist/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.pass.cpp | 51 +
external/bsd/libc++/dist/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/move.pass.cpp | 20 +
external/bsd/libc++/dist/libcxx/test/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type1.fail.cpp | 2 +-
external/bsd/libc++/dist/libcxx/test/utilities/utility/pairs/pair.astuple/pairs.by.type1.fail.cpp | 2 +-
244 files changed, 18944 insertions(+), 572 deletions(-)
diffs (truncated from 23001 to 300 lines):
diff -r ce883a7eb930 -r 93c5a3073519 external/bsd/libc++/dist/libcxx/include/__config
--- a/external/bsd/libc++/dist/libcxx/include/__config Sat Aug 09 18:44:07 2014 +0000
+++ b/external/bsd/libc++/dist/libcxx/include/__config Sat Aug 09 19:03:43 2014 +0000
@@ -313,10 +313,16 @@
#define _LIBCPP_HAS_NO_CONSTEXPR
#endif
+#if !(__has_feature(cxx_relaxed_constexpr))
+#define _LIBCPP_HAS_NO_CXX14_CONSTEXPR
+#endif
+
#if __ISO_C_VISIBLE >= 2011 || __cplusplus >= 201103L
#if defined(__FreeBSD__)
#define _LIBCPP_HAS_QUICK_EXIT
#define _LIBCPP_HAS_C11_FEATURES
+#elif defined(__ANDROID__)
+#define _LIBCPP_HAS_QUICK_EXIT
#elif defined(__linux__)
#include <features.h>
#if __GLIBC_PREREQ(2, 15)
@@ -339,7 +345,11 @@
#endif
#if __has_feature(underlying_type)
-# define _LIBCXX_UNDERLYING_TYPE(T) __underlying_type(T)
+# define _LIBCPP_UNDERLYING_TYPE(T) __underlying_type(T)
+#endif
+
+#if __has_feature(is_literal)
+# define _LIBCPP_IS_LITERAL(T) __is_literal(T)
#endif
// Inline namespaces are available in Clang regardless of C++ dialect.
@@ -363,12 +373,27 @@
#define _LIBCPP_NORETURN __attribute__((noreturn))
+#if _GNUC_VER >= 407
+#define _LIBCPP_UNDERLYING_TYPE(T) __underlying_type(T)
+#define _LIBCPP_IS_LITERAL(T) __is_literal_type(T)
+#endif
+
#if !__EXCEPTIONS
#define _LIBCPP_NO_EXCEPTIONS
#endif
#define _LIBCPP_HAS_NO_TEMPLATE_ALIASES
+
+// constexpr was added to GCC in 4.6.
+#if _GNUC_VER < 406
#define _LIBCPP_HAS_NO_CONSTEXPR
+// Can only use constexpr in c++11 mode.
+#elif !defined(__GXX_EXPERIMENTAL_CXX0X__) && __cplusplus < 201103L
+#define _LIBCPP_HAS_NO_CONSTEXPR
+#endif
+
+// No version of GCC supports relaxed constexpr rules
+#define _LIBCPP_HAS_NO_CXX14_CONSTEXPR
#define _NOEXCEPT throw()
#define _NOEXCEPT_(x)
@@ -439,6 +464,7 @@
#define _LIBCPP_HAS_NO_TEMPLATE_ALIASES
#define _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
#define _LIBCPP_HAS_NO_CONSTEXPR
+#define _LIBCPP_HAS_NO_CXX14_CONSTEXPR
#define _LIBCPP_HAS_NO_UNICODE_CHARS
#define _LIBCPP_HAS_NO_DELETED_FUNCTIONS
#define _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS
@@ -543,12 +569,20 @@
#define __has_feature(__x) 0
#endif
+#ifndef __has_builtin
+#define __has_builtin(__x) 0
+#endif
+
#if __has_feature(cxx_explicit_conversions) || defined(__IBMCPP__)
# define _LIBCPP_EXPLICIT explicit
#else
# define _LIBCPP_EXPLICIT
#endif
+#if !__has_builtin(__builtin_operator_new) || !__has_builtin(__builtin_operator_delete)
+# define _LIBCPP_HAS_NO_BUILTIN_OPERATOR_NEW_DELETE
+#endif
+
#ifdef _LIBCPP_HAS_NO_STRONG_ENUMS
#define _LIBCPP_DECLARE_STRONG_ENUM(x) struct _LIBCPP_TYPE_VIS x { enum __lx
#define _LIBCPP_DECLARE_STRONG_ENUM_EPILOG(x) \
@@ -608,8 +642,10 @@
#ifndef _LIBCPP_STD_VER
# if __cplusplus <= 201103L
# define _LIBCPP_STD_VER 11
+# elif __cplusplus <= 201402L
+# define _LIBCPP_STD_VER 14
# else
-# define _LIBCPP_STD_VER 13 // current year, or date of c++14 ratification
+# define _LIBCPP_STD_VER 15 // current year, or date of c++17 ratification
# endif
#endif // _LIBCPP_STD_VER
@@ -620,15 +656,19 @@
#endif
#if _LIBCPP_STD_VER <= 11
-#define _LIBCPP_CONSTEXPR_AFTER_CXX11
#define _LIBCPP_EXPLICIT_AFTER_CXX11
#define _LIBCPP_DEPRECATED_AFTER_CXX11
#else
-#define _LIBCPP_CONSTEXPR_AFTER_CXX11 constexpr
#define _LIBCPP_EXPLICIT_AFTER_CXX11 explicit
#define _LIBCPP_DEPRECATED_AFTER_CXX11 [[deprecated]]
#endif
+#if _LIBCPP_STD_VER > 11 && !defined(_LIBCPP_HAS_NO_CXX14_CONSTEXPR)
+#define _LIBCPP_CONSTEXPR_AFTER_CXX11 constexpr
+#else
+#define _LIBCPP_CONSTEXPR_AFTER_CXX11
+#endif
+
#ifndef _LIBCPP_HAS_NO_ASAN
extern "C" void __sanitizer_annotate_contiguous_container(
const void *, const void *, const void *, const void *);
diff -r ce883a7eb930 -r 93c5a3073519 external/bsd/libc++/dist/libcxx/include/__functional_03
--- a/external/bsd/libc++/dist/libcxx/include/__functional_03 Sat Aug 09 18:44:07 2014 +0000
+++ b/external/bsd/libc++/dist/libcxx/include/__functional_03 Sat Aug 09 19:03:43 2014 +0000
@@ -651,9 +651,14 @@
__base* __f_;
template <class _Fp>
+ _LIBCPP_INLINE_VISIBILITY
static bool __not_null(const _Fp&) {return true;}
template <class _R2>
- static bool __not_null(const function<_Rp()>& __p) {return __p;}
+ _LIBCPP_INLINE_VISIBILITY
+ static bool __not_null(_R2 (*__p)()) {return __p;}
+ template <class _R2>
+ _LIBCPP_INLINE_VISIBILITY
+ static bool __not_null(const function<_R2()>& __p) {return __p;}
public:
typedef _Rp result_type;
@@ -955,7 +960,7 @@
static bool __not_null(_R2 (_Cp::*__p)() const volatile) {return __p;}
template <class _R2, class _B0>
_LIBCPP_INLINE_VISIBILITY
- static bool __not_null(const function<_Rp(_B0)>& __p) {return __p;}
+ static bool __not_null(const function<_R2(_B0)>& __p) {return __p;}
public:
typedef _Rp result_type;
@@ -1257,7 +1262,7 @@
static bool __not_null(_R2 (_Cp::*__p)(_B1) const volatile) {return __p;}
template <class _R2, class _B0, class _B1>
_LIBCPP_INLINE_VISIBILITY
- static bool __not_null(const function<_Rp(_B0, _B1)>& __p) {return __p;}
+ static bool __not_null(const function<_R2(_B0, _B1)>& __p) {return __p;}
public:
typedef _Rp result_type;
@@ -1558,7 +1563,7 @@
static bool __not_null(_R2 (_Cp::*__p)(_B1, _B2) const volatile) {return __p;}
template <class _R2, class _B0, class _B1, class _B2>
_LIBCPP_INLINE_VISIBILITY
- static bool __not_null(const function<_Rp(_B0, _B1, _B2)>& __p) {return __p;}
+ static bool __not_null(const function<_R2(_B0, _B1, _B2)>& __p) {return __p;}
public:
typedef _Rp result_type;
@@ -1911,7 +1916,7 @@
typename __mu_return1<true, _Ti, _Uj...>::type
__mu_expand(_Ti& __ti, tuple<_Uj...>&& __uj, __tuple_indices<_Indx...>)
{
- __ti(_VSTD::forward<typename tuple_element<_Indx, _Uj>::type>(get<_Indx>(__uj))...);
+ __ti(_VSTD::forward<typename tuple_element<_Indx, _Uj>::type>(_VSTD::get<_Indx>(__uj))...);
}
template <class _Ti, class ..._Uj>
@@ -1947,9 +1952,9 @@
{
const size_t _Indx = is_placeholder<_Ti>::value - 1;
// compiler bug workaround
- typename tuple_element<_Indx, _Uj>::type __t = get<_Indx>(__uj);
+ typename tuple_element<_Indx, _Uj>::type __t = _VSTD::get<_Indx>(__uj);
return __t;
-// return _VSTD::forward<typename tuple_element<_Indx, _Uj>::type>(get<_Indx>(__uj));
+// return _VSTD::forward<typename tuple_element<_Indx, _Uj>::type>(_VSTD::get<_Indx>(__uj));
}
template <class _Ti, class _Uj>
@@ -2040,7 +2045,7 @@
__apply_functor(_Fp& __f, _BoundArgs& __bound_args, __tuple_indices<_Indx...>,
_Args&& __args)
{
- return __invoke(__f, __mu(get<_Indx>(__bound_args), __args)...);
+ return __invoke(__f, __mu(_VSTD::get<_Indx>(__bound_args), __args)...);
}
template<class _Fp, class ..._BoundArgs>
diff -r ce883a7eb930 -r 93c5a3073519 external/bsd/libc++/dist/libcxx/include/__functional_base_03
--- a/external/bsd/libc++/dist/libcxx/include/__functional_base_03 Sat Aug 09 18:44:07 2014 +0000
+++ b/external/bsd/libc++/dist/libcxx/include/__functional_base_03 Sat Aug 09 19:03:43 2014 +0000
@@ -1027,7 +1027,7 @@
typename __invoke_return0<type&, _A0>::type
operator() (_A0& __a0) const
{
- return __invoke(get(), __a0);
+ return __invoke<type&, _A0>(get(), __a0);
}
template <class _A0, class _A1>
@@ -1035,7 +1035,7 @@
typename __invoke_return1<type&, _A0, _A1>::type
operator() (_A0& __a0, _A1& __a1) const
{
- return __invoke(get(), __a0, __a1);
+ return __invoke<type&, _A0, _A1>(get(), __a0, __a1);
}
template <class _A0, class _A1, class _A2>
@@ -1043,7 +1043,7 @@
typename __invoke_return2<type&, _A0, _A1, _A2>::type
operator() (_A0& __a0, _A1& __a1, _A2& __a2) const
{
- return __invoke(get(), __a0, __a1, __a2);
+ return __invoke<type&, _A0, _A1, _A2>(get(), __a0, __a1, __a2);
}
};
diff -r ce883a7eb930 -r 93c5a3073519 external/bsd/libc++/dist/libcxx/include/__locale
--- a/external/bsd/libc++/dist/libcxx/include/__locale Sat Aug 09 18:44:07 2014 +0000
+++ b/external/bsd/libc++/dist/libcxx/include/__locale Sat Aug 09 19:03:43 2014 +0000
@@ -23,9 +23,16 @@
# include <support/win32/locale_win32.h>
#elif defined(_AIX)
# include <support/ibm/xlocale.h>
-#elif (defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun__)) || defined(__EMSCRIPTEN__) || defined(__IBMCPP__)
+#elif defined(__ANDROID__)
+// Android gained the locale aware functions in L (API level 21)
+# include <android/api-level.h>
+# if __ANDROID_API__ <= 20
+# include <support/android/locale_bionic.h>
+# endif
+#elif (defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) \
+ || defined(__sun__) || defined(__EMSCRIPTEN__) || defined(__IBMCPP__))
# include <xlocale.h>
-#endif // _WIN32 || __GLIBC__ || __APPLE__ || __FreeBSD__ || __sun__ || __EMSCRIPTEN__ || __IBMCPP__
+#endif // __GLIBC__ || __APPLE__ || __FreeBSD__ || __sun__ || __EMSCRIPTEN__ || __IBMCPP__
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
@@ -341,13 +348,15 @@
static const mask punct = _PUNCT;
static const mask xdigit = _HEX;
static const mask blank = _BLANK;
-#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__EMSCRIPTEN__) || defined(__NetBSD__)
+#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__EMSCRIPTEN__) || defined(__NetBSD__) || defined(__ANDROID__)
#ifdef __APPLE__
typedef __uint32_t mask;
#elif defined(__FreeBSD__)
typedef unsigned long mask;
#elif defined(__EMSCRIPTEN__) || defined(__NetBSD__)
typedef unsigned short mask;
+#elif defined(__ANDROID__)
+ typedef unsigned char mask;
#endif
static const mask space = _CTYPE_S;
static const mask print = _CTYPE_R;
@@ -357,7 +366,12 @@
static const mask alpha = _CTYPE_A;
static const mask digit = _CTYPE_D;
static const mask punct = _CTYPE_P;
+# if defined(__ANDROID__)
+ static const mask xdigit = _CTYPE_X | _CTYPE_D;
+# else
static const mask xdigit = _CTYPE_X;
+# endif
+
# if defined(__NetBSD__)
static const mask blank = _CTYPE_BL;
# else
diff -r ce883a7eb930 -r 93c5a3073519 external/bsd/libc++/dist/libcxx/include/__sso_allocator
--- a/external/bsd/libc++/dist/libcxx/include/__sso_allocator Sat Aug 09 18:44:07 2014 +0000
+++ b/external/bsd/libc++/dist/libcxx/include/__sso_allocator Sat Aug 09 19:03:43 2014 +0000
@@ -55,14 +55,14 @@
__allocated_ = true;
return (pointer)&buf_;
}
- return static_cast<pointer>(::operator new(__n * sizeof(_Tp)));
+ return static_cast<pointer>(_VSTD::__allocate(__n * sizeof(_Tp)));
}
_LIBCPP_INLINE_VISIBILITY void deallocate(pointer __p, size_type)
{
if (__p == (pointer)&buf_)
__allocated_ = false;
else
- ::operator delete(__p);
+ _VSTD::__deallocate(__p);
}
Home |
Main Index |
Thread Index |
Old Index