Date: Thu, 20 Apr 2017 21:21:10 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r317224 - in vendor/libc++/dist: . benchmarks include include/ext lib src test/libcxx/containers/sequences/vector test/libcxx/iterators test/libcxx/strings test/libcxx/utilities/meta/me... Message-ID: <201704202121.v3KLLACK002880@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Thu Apr 20 21:21:10 2017 New Revision: 317224 URL: https://svnweb.freebsd.org/changeset/base/317224 Log: Vendor import of libc++ trunk r300890: https://llvm.org/svn/llvm-project/libcxx/trunk@300890 Added: vendor/libc++/dist/appveyor.yml vendor/libc++/dist/test/std/language.support/support.initlist/include_cxx03.pass.cpp (contents, props changed) vendor/libc++/dist/utils/google-benchmark/cmake/Config.cmake.in (contents, props changed) vendor/libc++/dist/utils/google-benchmark/docs/ vendor/libc++/dist/utils/google-benchmark/docs/tools.md vendor/libc++/dist/utils/google-benchmark/mingw.py (contents, props changed) vendor/libc++/dist/utils/google-benchmark/src/counter.cc (contents, props changed) vendor/libc++/dist/utils/google-benchmark/src/counter.h (contents, props changed) Modified: vendor/libc++/dist/CMakeLists.txt vendor/libc++/dist/benchmarks/CMakeLists.txt vendor/libc++/dist/include/__functional_base vendor/libc++/dist/include/__hash_table vendor/libc++/dist/include/__mutex_base vendor/libc++/dist/include/__split_buffer vendor/libc++/dist/include/__tree vendor/libc++/dist/include/__tuple vendor/libc++/dist/include/algorithm vendor/libc++/dist/include/bitset vendor/libc++/dist/include/exception vendor/libc++/dist/include/ext/hash_map vendor/libc++/dist/include/fstream vendor/libc++/dist/include/functional vendor/libc++/dist/include/initializer_list vendor/libc++/dist/include/ios vendor/libc++/dist/include/istream vendor/libc++/dist/include/iterator vendor/libc++/dist/include/locale vendor/libc++/dist/include/map vendor/libc++/dist/include/memory vendor/libc++/dist/include/mutex vendor/libc++/dist/include/optional vendor/libc++/dist/include/ostream vendor/libc++/dist/include/queue vendor/libc++/dist/include/random vendor/libc++/dist/include/regex vendor/libc++/dist/include/set vendor/libc++/dist/include/sstream vendor/libc++/dist/include/stack vendor/libc++/dist/include/string vendor/libc++/dist/include/strstream vendor/libc++/dist/include/thread vendor/libc++/dist/include/tuple vendor/libc++/dist/include/unordered_map vendor/libc++/dist/include/unordered_set vendor/libc++/dist/include/utility vendor/libc++/dist/include/valarray vendor/libc++/dist/lib/CMakeLists.txt vendor/libc++/dist/src/iostream.cpp vendor/libc++/dist/test/libcxx/containers/sequences/vector/asan_throw.pass.cpp vendor/libc++/dist/test/libcxx/iterators/trivial_iterators.pass.cpp vendor/libc++/dist/test/libcxx/strings/iterators.exceptions.pass.cpp vendor/libc++/dist/test/libcxx/strings/iterators.noexcept.pass.cpp vendor/libc++/dist/test/libcxx/utilities/meta/meta.unary/meta.unary.prop/__has_operator_addressof.pass.cpp vendor/libc++/dist/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp vendor/libc++/dist/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp vendor/libc++/dist/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp vendor/libc++/dist/test/std/algorithms/alg.modifying.operations/alg.remove/remove.pass.cpp vendor/libc++/dist/test/std/algorithms/alg.modifying.operations/alg.remove/remove_if.pass.cpp vendor/libc++/dist/test/std/algorithms/alg.modifying.operations/alg.swap/swap_ranges.pass.cpp vendor/libc++/dist/test/std/algorithms/alg.modifying.operations/alg.unique/unique.pass.cpp vendor/libc++/dist/test/std/algorithms/alg.modifying.operations/alg.unique/unique_pred.pass.cpp vendor/libc++/dist/test/std/algorithms/alg.sorting/alg.heap.operations/pop.heap/pop_heap_comp.pass.cpp vendor/libc++/dist/test/std/algorithms/alg.sorting/alg.heap.operations/push.heap/push_heap_comp.pass.cpp vendor/libc++/dist/test/std/algorithms/alg.sorting/alg.heap.operations/sort.heap/sort_heap_comp.pass.cpp vendor/libc++/dist/test/std/algorithms/alg.sorting/alg.nth.element/nth_element_comp.pass.cpp vendor/libc++/dist/test/std/algorithms/alg.sorting/alg.sort/partial.sort/partial_sort_comp.pass.cpp vendor/libc++/dist/test/std/algorithms/alg.sorting/alg.sort/sort/sort_comp.pass.cpp vendor/libc++/dist/test/std/algorithms/alg.sorting/alg.sort/stable.sort/stable_sort_comp.pass.cpp vendor/libc++/dist/test/std/containers/Emplaceable.h vendor/libc++/dist/test/std/containers/associative/map/map.access/index_tuple.pass.cpp vendor/libc++/dist/test/std/containers/associative/map/map.cons/assign_initializer_list.pass.cpp vendor/libc++/dist/test/std/containers/associative/map/map.cons/initializer_list.pass.cpp vendor/libc++/dist/test/std/containers/associative/map/map.cons/initializer_list_compare.pass.cpp vendor/libc++/dist/test/std/containers/associative/map/map.cons/initializer_list_compare_alloc.pass.cpp vendor/libc++/dist/test/std/containers/associative/map/map.cons/move.pass.cpp vendor/libc++/dist/test/std/containers/associative/map/map.cons/move_alloc.pass.cpp vendor/libc++/dist/test/std/containers/associative/map/map.cons/move_assign.pass.cpp vendor/libc++/dist/test/std/containers/associative/map/map.modifiers/emplace.pass.cpp vendor/libc++/dist/test/std/containers/associative/map/map.modifiers/emplace_hint.pass.cpp vendor/libc++/dist/test/std/containers/associative/map/map.modifiers/insert_initializer_list.pass.cpp vendor/libc++/dist/test/std/containers/associative/multimap/multimap.cons/assign_initializer_list.pass.cpp vendor/libc++/dist/test/std/containers/associative/multimap/multimap.cons/initializer_list.pass.cpp vendor/libc++/dist/test/std/containers/associative/multimap/multimap.cons/initializer_list_compare.pass.cpp vendor/libc++/dist/test/std/containers/associative/multimap/multimap.cons/initializer_list_compare_alloc.pass.cpp vendor/libc++/dist/test/std/containers/associative/multimap/multimap.cons/move.pass.cpp vendor/libc++/dist/test/std/containers/associative/multimap/multimap.cons/move_alloc.pass.cpp vendor/libc++/dist/test/std/containers/associative/multimap/multimap.cons/move_assign.pass.cpp vendor/libc++/dist/test/std/containers/associative/multimap/multimap.modifiers/emplace.pass.cpp vendor/libc++/dist/test/std/containers/associative/multimap/multimap.modifiers/emplace_hint.pass.cpp vendor/libc++/dist/test/std/containers/associative/multimap/multimap.modifiers/insert_initializer_list.pass.cpp vendor/libc++/dist/test/std/containers/associative/multiset/emplace.pass.cpp vendor/libc++/dist/test/std/containers/associative/multiset/emplace_hint.pass.cpp vendor/libc++/dist/test/std/containers/associative/multiset/insert_initializer_list.pass.cpp vendor/libc++/dist/test/std/containers/associative/multiset/insert_iter_rv.pass.cpp vendor/libc++/dist/test/std/containers/associative/multiset/insert_rv.pass.cpp vendor/libc++/dist/test/std/containers/associative/multiset/multiset.cons/assign_initializer_list.pass.cpp vendor/libc++/dist/test/std/containers/associative/multiset/multiset.cons/initializer_list.pass.cpp vendor/libc++/dist/test/std/containers/associative/multiset/multiset.cons/initializer_list_compare.pass.cpp vendor/libc++/dist/test/std/containers/associative/multiset/multiset.cons/initializer_list_compare_alloc.pass.cpp vendor/libc++/dist/test/std/containers/associative/multiset/multiset.cons/move.pass.cpp vendor/libc++/dist/test/std/containers/associative/multiset/multiset.cons/move_alloc.pass.cpp vendor/libc++/dist/test/std/containers/associative/multiset/multiset.cons/move_assign.pass.cpp vendor/libc++/dist/test/std/containers/associative/set/emplace.pass.cpp vendor/libc++/dist/test/std/containers/associative/set/emplace_hint.pass.cpp vendor/libc++/dist/test/std/containers/associative/set/insert_initializer_list.pass.cpp vendor/libc++/dist/test/std/containers/associative/set/insert_iter_rv.pass.cpp vendor/libc++/dist/test/std/containers/associative/set/insert_rv.pass.cpp vendor/libc++/dist/test/std/containers/associative/set/set.cons/assign_initializer_list.pass.cpp vendor/libc++/dist/test/std/containers/associative/set/set.cons/initializer_list.pass.cpp vendor/libc++/dist/test/std/containers/associative/set/set.cons/initializer_list_compare.pass.cpp vendor/libc++/dist/test/std/containers/associative/set/set.cons/initializer_list_compare_alloc.pass.cpp vendor/libc++/dist/test/std/containers/associative/set/set.cons/move.pass.cpp vendor/libc++/dist/test/std/containers/associative/set/set.cons/move_alloc.pass.cpp vendor/libc++/dist/test/std/containers/associative/set/set.cons/move_assign.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_alloc.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_comp_alloc.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ctor_move_alloc.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/priority.queue/priqueue.cons/assign_move.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_comp_rcontainer.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_iter_iter_comp_rcont.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ctor_move.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/priority.queue/priqueue.cons/default_noexcept.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/priority.queue/priqueue.cons/move_noexcept.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/priority.queue/priqueue.members/emplace.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/priority.queue/priqueue.members/push_rvalue.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_alloc.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_container_alloc.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_rcontainer_alloc.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/queue/queue.cons.alloc/ctor_rqueue_alloc.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/queue/queue.cons/ctor_move.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/queue/queue.cons/ctor_rcontainer.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/queue/queue.cons/default_noexcept.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/queue/queue.cons/move_noexcept.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/queue/queue.defn/assign_move.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/queue/queue.defn/push_rv.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_alloc.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_container_alloc.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_rcontainer_alloc.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/stack/stack.cons.alloc/ctor_rqueue_alloc.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/stack/stack.cons/ctor_move.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/stack/stack.cons/ctor_rcontainer.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/stack/stack.cons/default_noexcept.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/stack/stack.cons/move_noexcept.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/stack/stack.defn/assign_move.pass.cpp vendor/libc++/dist/test/std/containers/container.adaptors/stack/stack.defn/push_rv.pass.cpp vendor/libc++/dist/test/std/containers/sequences/vector/vector.modifiers/erase_iter.pass.cpp vendor/libc++/dist/test/std/containers/sequences/vector/vector.modifiers/erase_iter_iter.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.map/unord.map.cnstr/assign_init.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.map/unord.map.cnstr/assign_move.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.map/unord.map.cnstr/init.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.map/unord.map.cnstr/init_size.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash_equal.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.map/unord.map.cnstr/init_size_hash_equal_allocator.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.map/unord.map.cnstr/move_alloc.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.map/unord.map.modifiers/emplace.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.map/unord.map.modifiers/emplace_hint.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.map/unord.map.modifiers/insert_init.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_init.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_move.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash_equal.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init_size_hash_equal_allocator.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_alloc.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/emplace.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/emplace_hint.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/insert_init.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multiset/emplace.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multiset/emplace_hint.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multiset/insert_hint_rvalue.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multiset/insert_init.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multiset/insert_rvalue.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_init.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_move.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash_equal.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init_size_hash_equal_allocator.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_alloc.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.set/emplace.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.set/emplace_hint.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.set/insert_hint_rvalue.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.set/insert_init.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.set/insert_rvalue.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.set/unord.set.cnstr/assign_init.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.set/unord.set.cnstr/assign_move.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.set/unord.set.cnstr/init.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.set/unord.set.cnstr/init_size.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash_equal.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.set/unord.set.cnstr/init_size_hash_equal_allocator.pass.cpp vendor/libc++/dist/test/std/containers/unord/unord.set/unord.set.cnstr/move_alloc.pass.cpp vendor/libc++/dist/test/std/input.output/file.streams/fstreams/filebuf.assign/move_assign.pass.cpp vendor/libc++/dist/test/std/input.output/file.streams/fstreams/filebuf.cons/move.pass.cpp vendor/libc++/dist/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp vendor/libc++/dist/test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp vendor/libc++/dist/test/std/input.output/file.streams/fstreams/ifstream.assign/move_assign.pass.cpp vendor/libc++/dist/test/std/input.output/file.streams/fstreams/ifstream.cons/move.pass.cpp vendor/libc++/dist/test/std/input.output/file.streams/fstreams/ofstream.assign/move_assign.pass.cpp vendor/libc++/dist/test/std/input.output/file.streams/fstreams/ofstream.cons/move.pass.cpp vendor/libc++/dist/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/move_assign.pass.cpp vendor/libc++/dist/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/move.pass.cpp vendor/libc++/dist/test/std/input.output/iostream.format/input.streams/istream/istream.assign/move_assign.pass.cpp vendor/libc++/dist/test/std/input.output/iostream.format/output.streams/ostream.assign/move_assign.pass.cpp vendor/libc++/dist/test/std/input.output/iostream.format/output.streams/ostream.cons/move.pass.cpp vendor/libc++/dist/test/std/input.output/iostream.format/output.streams/ostream.rvalue/CharT_pointer.pass.cpp vendor/libc++/dist/test/std/input.output/string.streams/istringstream/istringstream.assign/move.pass.cpp vendor/libc++/dist/test/std/input.output/string.streams/istringstream/istringstream.cons/move.pass.cpp vendor/libc++/dist/test/std/input.output/string.streams/ostringstream/ostringstream.assign/move.pass.cpp vendor/libc++/dist/test/std/input.output/string.streams/ostringstream/ostringstream.cons/move.pass.cpp vendor/libc++/dist/test/std/input.output/string.streams/stringstream.cons/move.pass.cpp vendor/libc++/dist/test/std/input.output/string.streams/stringstream.cons/move2.pass.cpp vendor/libc++/dist/test/std/input.output/string.streams/stringstream.cons/stringstream.assign/move.pass.cpp vendor/libc++/dist/test/std/language.support/support.exception/except.nested/throw_with_nested.pass.cpp vendor/libc++/dist/test/std/language.support/support.initlist/support.initlist.access/access.pass.cpp vendor/libc++/dist/test/std/language.support/support.initlist/support.initlist.cons/default.pass.cpp vendor/libc++/dist/test/std/language.support/support.initlist/support.initlist.range/begin_end.pass.cpp vendor/libc++/dist/test/std/language.support/support.initlist/types.pass.cpp vendor/libc++/dist/test/std/numerics/complex.number/complex.literals/literals.pass.cpp vendor/libc++/dist/test/std/numerics/complex.number/complex.literals/literals1.fail.cpp vendor/libc++/dist/test/std/numerics/complex.number/complex.members/construct.pass.cpp vendor/libc++/dist/test/std/numerics/complex.number/complex.special/double_float_explicit.pass.cpp vendor/libc++/dist/test/std/numerics/complex.number/complex.special/double_float_implicit.pass.cpp vendor/libc++/dist/test/std/numerics/complex.number/complex.special/double_long_double_explicit.pass.cpp vendor/libc++/dist/test/std/numerics/complex.number/complex.special/float_double_explicit.pass.cpp vendor/libc++/dist/test/std/numerics/complex.number/complex.special/float_long_double_explicit.pass.cpp vendor/libc++/dist/test/std/numerics/complex.number/complex.special/long_double_double_explicit.pass.cpp vendor/libc++/dist/test/std/numerics/complex.number/complex.special/long_double_double_implicit.pass.cpp vendor/libc++/dist/test/std/numerics/complex.number/complex.special/long_double_float_explicit.pass.cpp vendor/libc++/dist/test/std/numerics/complex.number/complex.special/long_double_float_implicit.pass.cpp vendor/libc++/dist/test/std/numerics/numarray/template.valarray/valarray.assign/initializer_list_assign.pass.cpp vendor/libc++/dist/test/std/numerics/numarray/template.valarray/valarray.cons/initializer_list.pass.cpp vendor/libc++/dist/test/std/numerics/rand/rand.adapt/rand.adapt.disc/values.pass.cpp vendor/libc++/dist/test/std/numerics/rand/rand.adapt/rand.adapt.ibits/values.pass.cpp vendor/libc++/dist/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/values.pass.cpp vendor/libc++/dist/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/ctor_init.pass.cpp vendor/libc++/dist/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/param_ctor_default.pass.cpp vendor/libc++/dist/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/param_ctor_init.pass.cpp vendor/libc++/dist/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/ctor_default.pass.cpp vendor/libc++/dist/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/ctor_init_func.pass.cpp vendor/libc++/dist/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/param_ctor_init_func.pass.cpp vendor/libc++/dist/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/ctor_default.pass.cpp vendor/libc++/dist/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/ctor_init_func.pass.cpp vendor/libc++/dist/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/param_ctor_init_func.pass.cpp vendor/libc++/dist/test/std/numerics/rand/rand.eng/rand.eng.lcong/values.pass.cpp vendor/libc++/dist/test/std/numerics/rand/rand.eng/rand.eng.mers/values.pass.cpp vendor/libc++/dist/test/std/numerics/rand/rand.eng/rand.eng.sub/values.pass.cpp vendor/libc++/dist/test/std/numerics/rand/rand.util/rand.util.seedseq/initializer_list.pass.cpp vendor/libc++/dist/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp vendor/libc++/dist/test/std/re/re.regex/re.regex.assign/assign.il.pass.cpp vendor/libc++/dist/test/std/re/re.regex/re.regex.assign/il.pass.cpp vendor/libc++/dist/test/std/re/re.regex/re.regex.construct/il_flg.pass.cpp vendor/libc++/dist/test/std/strings/basic.string/string.modifiers/string_insert/iter_initializer_list.pass.cpp vendor/libc++/dist/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_initializer_list.pass.cpp vendor/libc++/dist/test/std/strings/basic.string/string.nonmembers/string.io/get_line_delim_rv.pass.cpp vendor/libc++/dist/test/std/strings/basic.string/string.nonmembers/string.io/get_line_rv.pass.cpp vendor/libc++/dist/test/std/strings/basic.string/string.nonmembers/string_op+/char_string.pass.cpp vendor/libc++/dist/test/std/strings/basic.string/string.nonmembers/string_op+/pointer_string.pass.cpp vendor/libc++/dist/test/std/strings/basic.string/string.nonmembers/string_op+/string_char.pass.cpp vendor/libc++/dist/test/std/strings/basic.string/string.nonmembers/string_op+/string_pointer.pass.cpp vendor/libc++/dist/test/std/strings/basic.string/string.nonmembers/string_op+/string_string.pass.cpp vendor/libc++/dist/test/std/thread/thread.mutex/thread.lock.algorithm/lock.pass.cpp vendor/libc++/dist/test/std/thread/thread.mutex/thread.lock.algorithm/try_lock.pass.cpp vendor/libc++/dist/test/std/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp vendor/libc++/dist/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp vendor/libc++/dist/test/std/utilities/memory/util.smartptr/util.smartptr.hash/hash_unique_ptr.pass.cpp vendor/libc++/dist/test/std/utilities/meta/meta.help/integral_constant.pass.cpp vendor/libc++/dist/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp vendor/libc++/dist/test/std/utilities/optional/optional.comp_with_t/equal.pass.cpp vendor/libc++/dist/test/std/utilities/optional/optional.comp_with_t/greater.pass.cpp vendor/libc++/dist/test/std/utilities/optional/optional.comp_with_t/greater_equal.pass.cpp vendor/libc++/dist/test/std/utilities/optional/optional.comp_with_t/less_equal.pass.cpp vendor/libc++/dist/test/std/utilities/optional/optional.comp_with_t/less_than.pass.cpp vendor/libc++/dist/test/std/utilities/optional/optional.comp_with_t/not_equal.pass.cpp vendor/libc++/dist/test/std/utilities/optional/optional.hash/hash.pass.cpp vendor/libc++/dist/test/std/utilities/optional/optional.relops/equal.pass.cpp vendor/libc++/dist/test/std/utilities/optional/optional.relops/greater_equal.pass.cpp vendor/libc++/dist/test/std/utilities/optional/optional.relops/greater_than.pass.cpp vendor/libc++/dist/test/std/utilities/optional/optional.relops/less_equal.pass.cpp vendor/libc++/dist/test/std/utilities/optional/optional.relops/less_than.pass.cpp vendor/libc++/dist/test/std/utilities/optional/optional.relops/not_equal.pass.cpp vendor/libc++/dist/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/move_convert.runtime.pass.cpp vendor/libc++/dist/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/default.pass.cpp vendor/libc++/dist/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/move_convert.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.arithmetic/op_+.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.arithmetic/op_-.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.cast/duration_cast.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.comparisons/op_equal.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.comparisons/op_less.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.cons/convert_exact.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.cons/convert_inexact.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.cons/convert_int_to_float.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.cons/default.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.cons/rep.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.cons/rep02.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.nonmember/op_+.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.nonmember/op_-.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.nonmember/op_divide_duration.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.nonmember/op_divide_rep.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.nonmember/op_mod_duration.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.nonmember/op_mod_rep.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.nonmember/op_times_rep.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.special/max.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.special/min.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.duration/time.duration.special/zero.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.traits/time.traits.duration_values/max.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.traits/time.traits.duration_values/min.pass.cpp vendor/libc++/dist/test/std/utilities/time/time.traits/time.traits.duration_values/zero.pass.cpp vendor/libc++/dist/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/default.pass.cpp vendor/libc++/dist/test/std/utilities/utility/pairs/pair.piecewise/piecewise_construct.pass.cpp vendor/libc++/dist/test/std/utilities/utility/pairs/pairs.pair/piecewise.pass.cpp vendor/libc++/dist/test/support/Counter.h vendor/libc++/dist/test/support/MoveOnly.h vendor/libc++/dist/test/support/allocators.h vendor/libc++/dist/test/support/nasty_containers.hpp vendor/libc++/dist/test/support/tracked_value.h vendor/libc++/dist/utils/google-benchmark/AUTHORS vendor/libc++/dist/utils/google-benchmark/CMakeLists.txt vendor/libc++/dist/utils/google-benchmark/CONTRIBUTORS vendor/libc++/dist/utils/google-benchmark/README.md vendor/libc++/dist/utils/google-benchmark/cmake/AddCXXCompilerFlag.cmake vendor/libc++/dist/utils/google-benchmark/cmake/CXXFeatureCheck.cmake vendor/libc++/dist/utils/google-benchmark/include/benchmark/benchmark_api.h vendor/libc++/dist/utils/google-benchmark/include/benchmark/reporter.h vendor/libc++/dist/utils/google-benchmark/src/CMakeLists.txt vendor/libc++/dist/utils/google-benchmark/src/benchmark.cc vendor/libc++/dist/utils/google-benchmark/src/benchmark_api_internal.h vendor/libc++/dist/utils/google-benchmark/src/benchmark_register.cc vendor/libc++/dist/utils/google-benchmark/src/complexity.cc vendor/libc++/dist/utils/google-benchmark/src/console_reporter.cc vendor/libc++/dist/utils/google-benchmark/src/csv_reporter.cc vendor/libc++/dist/utils/google-benchmark/src/cycleclock.h vendor/libc++/dist/utils/google-benchmark/src/internal_macros.h vendor/libc++/dist/utils/google-benchmark/src/json_reporter.cc vendor/libc++/dist/utils/google-benchmark/src/re.h vendor/libc++/dist/utils/google-benchmark/src/sleep.cc vendor/libc++/dist/utils/google-benchmark/src/sleep.h vendor/libc++/dist/utils/google-benchmark/src/string_util.cc vendor/libc++/dist/utils/google-benchmark/src/sysinfo.cc vendor/libc++/dist/utils/google-benchmark/src/timers.cc vendor/libc++/dist/utils/google-benchmark/test/CMakeLists.txt vendor/libc++/dist/utils/google-benchmark/test/benchmark_test.cc vendor/libc++/dist/utils/google-benchmark/test/cxx03_test.cc vendor/libc++/dist/utils/google-benchmark/test/diagnostics_test.cc vendor/libc++/dist/utils/google-benchmark/test/options_test.cc vendor/libc++/dist/utils/google-benchmark/test/output_test_helper.cc vendor/libc++/dist/utils/google-benchmark/test/reporter_output_test.cc vendor/libc++/dist/utils/google-benchmark/tools/compare_bench.py vendor/libc++/dist/utils/google-benchmark/tools/gbench/Inputs/test1_run1.json vendor/libc++/dist/utils/google-benchmark/tools/gbench/Inputs/test1_run2.json vendor/libc++/dist/utils/google-benchmark/tools/gbench/report.py vendor/libc++/dist/utils/google-benchmark/tools/gbench/util.py vendor/libc++/dist/utils/libcxx/test/config.py vendor/libc++/dist/www/cxx1z_status.html Modified: vendor/libc++/dist/CMakeLists.txt ============================================================================== --- vendor/libc++/dist/CMakeLists.txt Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/CMakeLists.txt Thu Apr 20 21:21:10 2017 (r317224) @@ -64,8 +64,12 @@ option(LIBCXX_ENABLE_ASSERTIONS "Enable option(LIBCXX_ENABLE_SHARED "Build libc++ as a shared library." ON) option(LIBCXX_ENABLE_STATIC "Build libc++ as a static library." ON) option(LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY "Build libc++experimental.a" ON) -option(LIBCXX_ENABLE_FILESYSTEM - "Build filesystem as part of libc++experimental.a" ${LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY}) +set(ENABLE_FILESYSTEM_DEFAULT ${LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY}) +if (WIN32) + set(ENABLE_FILESYSTEM_DEFAULT OFF) +endif() +option(LIBCXX_ENABLE_FILESYSTEM "Build filesystem as part of libc++experimental.a" + ${ENABLE_FILESYSTEM_DEFAULT}) option(LIBCXX_INCLUDE_TESTS "Build the libc++ tests." ${LLVM_INCLUDE_TESTS}) # Benchmark options ----------------------------------------------------------- Added: vendor/libc++/dist/appveyor.yml ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/libc++/dist/appveyor.yml Thu Apr 20 21:21:10 2017 (r317224) @@ -0,0 +1,97 @@ +version: '{build}' + +shallow_clone: true + +os: + - Visual Studio 2015 + +build: + verbosity: detailed + +branches: + only: + - master + +configuration: + - Debug + +environment: + matrix: + - COMPILER: Clang-CL 4.0 + +install: + ############################################################################ + # All external dependencies are installed in C:\projects\deps + ############################################################################ + - mkdir C:\projects\deps + - cd C:\projects\deps + + ############################################################################ + # Install Ninja + ############################################################################ + - set NINJA_URL="https://github.com/ninja-build/ninja/releases/download/v1.6.0/ninja-win.zip" + - appveyor DownloadFile %NINJA_URL% -FileName ninja.zip + - 7z x ninja.zip -oC:\projects\deps\ninja > nul + - set PATH=C:\projects\deps\ninja;%PATH% + - ninja --version + + ############################################################################ + # Install a recent CMake + ############################################################################ + - set CMAKE_URL="https://cmake.org/files/v3.7/cmake-3.7.2-win64-x64.zip" + - appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip + - 7z x cmake.zip -oC:\projects\deps > nul + - move C:\projects\deps\cmake-* C:\projects\deps\cmake # Move to a version-agnostic directory + - set PATH=C:\projects\deps\cmake\bin;%PATH% + - cmake --version + + ############################################################################ + # Setup the path to Clang-cl + ############################################################################ + - set PATH="C:\Program Files\LLVM\bin";%PATH% + - clang-cl -v + + ############################################################################ + # Setup the cached copy of LLVM + ############################################################################ + - if exist llvm (git -C llvm pull --rebase=true --ff-only) + - if not exist llvm (git clone --depth=1 http://llvm.org/git/llvm.git) + + +before_build: + - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 + - cd C:\projects\libcxx + +build_script: + - md C:\projects\build-libcxx + - cd C:\projects\build-libcxx + - echo %configuration% + + ############################################################################# + # Configuration Step + ############################################################################# + - cmake -G Ninja %extra_cmake_flags% + -DCMAKE_C_COMPILER=clang-cl.exe -DCMAKE_CXX_COMPILER=clang-cl.exe + "-DCMAKE_BUILD_TYPE=%configuration%" + "-DLLVM_PATH=C:\projects\deps\llvm" -DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF + -DLLVM_LIT_ARGS="-sv --no-progress-bar --show-xfail --show-unsupported" + C:\projects\libcxx + + ############################################################################# + # Build Step + ############################################################################# + - ninja + +test_script: + - ninja check-cxx + +on_failure: + - appveyor PushArtifact CMakeFiles/CMakeOutput.log + - appveyor PushArtifact CMakeFiles/CMakeError.log + +artifacts: + - path: '_build/CMakeFiles/*.log' + name: logs + +cache: + - C:\projects\deps\llvm Modified: vendor/libc++/dist/benchmarks/CMakeLists.txt ============================================================================== --- vendor/libc++/dist/benchmarks/CMakeLists.txt Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/benchmarks/CMakeLists.txt Thu Apr 20 21:21:10 2017 (r317224) @@ -63,7 +63,7 @@ endif() # Benchmark tests configuration #============================================================================== add_custom_target(cxx-benchmarks) - +set(BENCHMARK_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}) set(BENCHMARK_LIBCXX_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/benchmark-libcxx) set(BENCHMARK_NATIVE_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/benchmark-native) set(BENCHMARK_TEST_COMPILE_FLAGS @@ -111,6 +111,7 @@ macro(add_benchmark_test name source_fil set_target_properties(${libcxx_target} PROPERTIES OUTPUT_NAME "${name}.libcxx.out" + RUNTIME_OUTPUT_DIRECTORY "${BENCHMARK_OUTPUT_DIR}" COMPILE_FLAGS "${BENCHMARK_TEST_LIBCXX_COMPILE_FLAGS}" LINK_FLAGS "${BENCHMARK_TEST_LIBCXX_LINK_FLAGS}") if (LIBCXX_BENCHMARK_NATIVE_STDLIB) @@ -131,6 +132,7 @@ macro(add_benchmark_test name source_fil set_target_properties(${native_target} PROPERTIES OUTPUT_NAME "${name}.native.out" + RUNTIME_OUTPUT_DIRECTORY "${BENCHMARK_OUTPUT_DIR}" INCLUDE_DIRECTORIES "" COMPILE_FLAGS "${BENCHMARK_TEST_NATIVE_COMPILE_FLAGS}" LINK_FLAGS "${BENCHMARK_TEST_NATIVE_LINK_FLAGS}") Modified: vendor/libc++/dist/include/__functional_base ============================================================================== --- vendor/libc++/dist/include/__functional_base Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/include/__functional_base Thu Apr 20 21:21:10 2017 (r317224) @@ -251,7 +251,7 @@ struct __weak_result_type<_Rp (_Cp::*)(_ }; -#ifndef _LIBCPP_HAS_NO_VARIADICS +#ifndef _LIBCPP_CXX03_LANG // 3 or more arguments template <class _Rp, class _A1, class _A2, class _A3, class ..._A4> @@ -296,10 +296,6 @@ struct __weak_result_type<_Rp (_Cp::*)(_ typedef _Rp result_type; }; -#endif // _LIBCPP_HAS_NO_VARIADICS - -#ifndef _LIBCPP_CXX03_LANG - template <class _Tp, class ..._Args> struct __invoke_return { @@ -316,7 +312,7 @@ struct __invoke_return template <class _Ret> struct __invoke_void_return_wrapper { -#ifndef _LIBCPP_HAS_NO_VARIADICS +#ifndef _LIBCPP_CXX03_LANG template <class ..._Args> static _Ret __call(_Args&&... __args) { return __invoke(_VSTD::forward<_Args>(__args)...); @@ -347,7 +343,7 @@ struct __invoke_void_return_wrapper template <> struct __invoke_void_return_wrapper<void> { -#ifndef _LIBCPP_HAS_NO_VARIADICS +#ifndef _LIBCPP_CXX03_LANG template <class ..._Args> static void __call(_Args&&... __args) { __invoke(_VSTD::forward<_Args>(__args)...); @@ -389,7 +385,7 @@ public: // construct/copy/destroy _LIBCPP_INLINE_VISIBILITY reference_wrapper(type& __f) _NOEXCEPT : __f_(_VSTD::addressof(__f)) {} -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG private: reference_wrapper(type&&); public: // = delete; // do not bind to temps #endif @@ -397,7 +393,7 @@ public: _LIBCPP_INLINE_VISIBILITY operator type& () const _NOEXCEPT {return *__f_;} _LIBCPP_INLINE_VISIBILITY type& get() const _NOEXCEPT {return *__f_;} -#ifndef _LIBCPP_HAS_NO_VARIADICS +#ifndef _LIBCPP_CXX03_LANG // invoke template <class... _ArgTypes> _LIBCPP_INLINE_VISIBILITY @@ -510,7 +506,7 @@ public: operator() (_A0 const& __a0, _A1 const& __a1, _A2 const& __a2) const { return __invoke(get(), __a0, __a1, __a2); } -#endif // _LIBCPP_HAS_NO_VARIADICS +#endif // _LIBCPP_CXX03_LANG }; @@ -568,7 +564,7 @@ public: struct _LIBCPP_TEMPLATE_VIS allocator_arg_t { }; -#if defined(_LIBCPP_HAS_NO_CONSTEXPR) || defined(_LIBCPP_BUILDING_MEMORY) +#if defined(_LIBCPP_CXX03_LANG) || defined(_LIBCPP_BUILDING_MEMORY) extern const allocator_arg_t allocator_arg; #else constexpr allocator_arg_t allocator_arg = allocator_arg_t(); @@ -611,7 +607,7 @@ template <class _Tp, class _Alloc> constexpr size_t uses_allocator_v = uses_allocator<_Tp, _Alloc>::value; #endif -#ifndef _LIBCPP_HAS_NO_VARIADICS +#ifndef _LIBCPP_CXX03_LANG // allocator construction @@ -663,7 +659,7 @@ void __user_alloc_construct (_Tp *__stor __storage, __a, _VSTD::forward<_Args>(__args)... ); } -#endif // _LIBCPP_HAS_NO_VARIADICS +#endif // _LIBCPP_CXX03_LANG _LIBCPP_END_NAMESPACE_STD Modified: vendor/libc++/dist/include/__hash_table ============================================================================== --- vendor/libc++/dist/include/__hash_table Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/include/__hash_table Thu Apr 20 21:21:10 2017 (r317224) @@ -798,8 +798,7 @@ public: _NOEXCEPT_(is_nothrow_copy_constructible<allocator_type>::value) : __data_(__size, __a) {} -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES - +#ifndef _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY __bucket_list_deallocator(__bucket_list_deallocator&& __x) _NOEXCEPT_(is_nothrow_move_constructible<allocator_type>::value) @@ -807,8 +806,7 @@ public: { __x.size() = 0; } - -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif _LIBCPP_INLINE_VISIBILITY size_type& size() _NOEXCEPT {return __data_.first();} Modified: vendor/libc++/dist/include/__mutex_base ============================================================================== --- vendor/libc++/dist/include/__mutex_base Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/include/__mutex_base Thu Apr 20 21:21:10 2017 (r317224) @@ -34,7 +34,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD class _LIBCPP_TYPE_VIS _LIBCPP_THREAD_SAFETY_ANNOTATION(capability("mutex")) mutex { -#ifndef _LIBCPP_HAS_NO_CONSTEXPR +#ifndef _LIBCPP_CXX03_LANG __libcpp_mutex_t __m_ = _LIBCPP_MUTEX_INITIALIZER; #else __libcpp_mutex_t __m_; @@ -42,7 +42,7 @@ class _LIBCPP_TYPE_VIS _LIBCPP_THREAD_SA public: _LIBCPP_INLINE_VISIBILITY -#ifndef _LIBCPP_HAS_NO_CONSTEXPR +#ifndef _LIBCPP_CXX03_LANG constexpr mutex() _NOEXCEPT = default; #else mutex() _NOEXCEPT {__m_ = (__libcpp_mutex_t)_LIBCPP_MUTEX_INITIALIZER;} @@ -66,7 +66,7 @@ struct _LIBCPP_TYPE_VIS defer_lock_t {}; struct _LIBCPP_TYPE_VIS try_to_lock_t {}; struct _LIBCPP_TYPE_VIS adopt_lock_t {}; -#if defined(_LIBCPP_HAS_NO_CONSTEXPR) || defined(_LIBCPP_BUILDING_MUTEX) +#if defined(_LIBCPP_CXX03_LANG) || defined(_LIBCPP_BUILDING_MUTEX) extern const defer_lock_t defer_lock; extern const try_to_lock_t try_to_lock; @@ -150,7 +150,7 @@ private: unique_lock& operator=(unique_lock const&); // = delete; public: -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY unique_lock(unique_lock&& __u) _NOEXCEPT : __m_(__u.__m_), __owns_(__u.__owns_) @@ -167,7 +167,7 @@ public: return *this; } -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG void lock(); bool try_lock(); @@ -279,7 +279,7 @@ _LIBCPP_DECLARE_STRONG_ENUM_EPILOG(cv_st class _LIBCPP_TYPE_VIS condition_variable { -#ifndef _LIBCPP_HAS_NO_CONSTEXPR +#ifndef _LIBCPP_CXX03_LANG __libcpp_condvar_t __cv_ = _LIBCPP_CONDVAR_INITIALIZER; #else __libcpp_condvar_t __cv_; @@ -287,7 +287,7 @@ class _LIBCPP_TYPE_VIS condition_variabl public: _LIBCPP_INLINE_VISIBILITY -#ifndef _LIBCPP_HAS_NO_CONSTEXPR +#ifndef _LIBCPP_CXX03_LANG constexpr condition_variable() _NOEXCEPT = default; #else condition_variable() _NOEXCEPT {__cv_ = (__libcpp_condvar_t)_LIBCPP_CONDVAR_INITIALIZER;} Modified: vendor/libc++/dist/include/__split_buffer ============================================================================== --- vendor/libc++/dist/include/__split_buffer Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/include/__split_buffer Thu Apr 20 21:21:10 2017 (r317224) @@ -66,7 +66,7 @@ public: __split_buffer(size_type __cap, size_type __start, __alloc_rr& __a); ~__split_buffer(); -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG __split_buffer(__split_buffer&& __c) _NOEXCEPT_(is_nothrow_move_constructible<allocator_type>::value); __split_buffer(__split_buffer&& __c, const __alloc_rr& __a); @@ -74,7 +74,7 @@ public: _NOEXCEPT_((__alloc_traits::propagate_on_container_move_assignment::value && is_nothrow_move_assignable<allocator_type>::value) || !__alloc_traits::propagate_on_container_move_assignment::value); -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY iterator begin() _NOEXCEPT {return __begin_;} _LIBCPP_INLINE_VISIBILITY const_iterator begin() const _NOEXCEPT {return __begin_;} @@ -99,14 +99,12 @@ public: void shrink_to_fit() _NOEXCEPT; void push_front(const_reference __x); _LIBCPP_INLINE_VISIBILITY void push_back(const_reference __x); -#if !defined(_LIBCPP_HAS_NO_RVALUE_REFERENCES) +#ifndef _LIBCPP_CXX03_LANG void push_front(value_type&& __x); void push_back(value_type&& __x); -#if !defined(_LIBCPP_HAS_NO_VARIADICS) template <class... _Args> void emplace_back(_Args&&... __args); -#endif // !defined(_LIBCPP_HAS_NO_VARIADICS) -#endif // !defined(_LIBCPP_HAS_NO_RVALUE_REFERENCES) +#endif // !defined(_LIBCPP_CXX03_LANG) _LIBCPP_INLINE_VISIBILITY void pop_front() {__destruct_at_begin(__begin_+1);} _LIBCPP_INLINE_VISIBILITY void pop_back() {__destruct_at_end(__end_-1);} @@ -343,7 +341,7 @@ __split_buffer<_Tp, _Allocator>::~__spli __alloc_traits::deallocate(__alloc(), __first_, capacity()); } -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG template <class _Tp, class _Allocator> __split_buffer<_Tp, _Allocator>::__split_buffer(__split_buffer&& __c) @@ -405,7 +403,7 @@ __split_buffer<_Tp, _Allocator>::operato return *this; } -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG template <class _Tp, class _Allocator> void @@ -492,7 +490,7 @@ __split_buffer<_Tp, _Allocator>::push_fr --__begin_; } -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG template <class _Tp, class _Allocator> void @@ -524,7 +522,7 @@ __split_buffer<_Tp, _Allocator>::push_fr --__begin_; } -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG template <class _Tp, class _Allocator> inline _LIBCPP_INLINE_VISIBILITY @@ -556,7 +554,7 @@ __split_buffer<_Tp, _Allocator>::push_ba ++__end_; } -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG template <class _Tp, class _Allocator> void @@ -588,8 +586,6 @@ __split_buffer<_Tp, _Allocator>::push_ba ++__end_; } -#ifndef _LIBCPP_HAS_NO_VARIADICS - template <class _Tp, class _Allocator> template <class... _Args> void @@ -621,9 +617,7 @@ __split_buffer<_Tp, _Allocator>::emplace ++__end_; } -#endif // _LIBCPP_HAS_NO_VARIADICS - -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG template <class _Tp, class _Allocator> inline _LIBCPP_INLINE_VISIBILITY Modified: vendor/libc++/dist/include/__tree ============================================================================== --- vendor/libc++/dist/include/__tree Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/include/__tree Thu Apr 20 21:21:10 2017 (r317224) @@ -1105,7 +1105,7 @@ public: void __assign_unique(_InputIterator __first, _InputIterator __last); template <class _InputIterator> void __assign_multi(_InputIterator __first, _InputIterator __last); -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG __tree(__tree&& __t) _NOEXCEPT_( is_nothrow_move_constructible<__node_allocator>::value && @@ -1116,7 +1116,7 @@ public: __node_traits::propagate_on_container_move_assignment::value && is_nothrow_move_assignable<value_compare>::value && is_nothrow_move_assignable<__node_allocator>::value); -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG ~__tree(); @@ -1675,7 +1675,7 @@ __tree<_Tp, _Compare, _Allocator>::__tre __begin_node() = __end_node(); } -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG template <class _Tp, class _Compare, class _Allocator> __tree<_Tp, _Compare, _Allocator>::__tree(__tree&& __t) @@ -1805,7 +1805,7 @@ __tree<_Tp, _Compare, _Allocator>::opera return *this; } -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG template <class _Tp, class _Compare, class _Allocator> __tree<_Tp, _Compare, _Allocator>::~__tree() Modified: vendor/libc++/dist/include/__tuple ============================================================================== --- vendor/libc++/dist/include/__tuple Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/include/__tuple Thu Apr 20 21:21:10 2017 (r317224) @@ -85,7 +85,7 @@ template <class _Tp> struct __tuple_like // tuple specializations -#if !defined(_LIBCPP_HAS_NO_VARIADICS) +#ifndef _LIBCPP_CXX03_LANG template <size_t...> struct __tuple_indices {}; @@ -189,7 +189,8 @@ template <size_t _Ip, class ..._Tp> _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 const typename tuple_element<_Ip, tuple<_Tp...> >::type&& get(const tuple<_Tp...>&&) _NOEXCEPT; -#endif + +#endif // !defined(_LIBCPP_CXX03_LANG) // pair specializations @@ -205,7 +206,7 @@ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTE const typename tuple_element<_Ip, pair<_T1, _T2> >::type& get(const pair<_T1, _T2>&) _NOEXCEPT; -#if !defined(_LIBCPP_HAS_NO_RVALUE_REFERENCES) +#ifndef _LIBCPP_CXX03_LANG template <size_t _Ip, class _T1, class _T2> _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 typename tuple_element<_Ip, pair<_T1, _T2> >::type&& @@ -233,7 +234,7 @@ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTE const _Tp& get(const array<_Tp, _Size>&) _NOEXCEPT; -#if !defined(_LIBCPP_HAS_NO_RVALUE_REFERENCES) +#ifndef _LIBCPP_CXX03_LANG template <size_t _Ip, class _Tp, size_t _Size> _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 _Tp&& @@ -245,8 +246,7 @@ const _Tp&& get(const array<_Tp, _Size>&&) _NOEXCEPT; #endif -#if !defined(_LIBCPP_HAS_NO_VARIADICS) - +#ifndef _LIBCPP_CXX03_LANG // __tuple_types @@ -468,9 +468,6 @@ template <size_t _Ip, class ..._Tp> using tuple_element_t = typename tuple_element <_Ip, _Tp...>::type; #endif -#endif // _LIBCPP_HAS_NO_VARIADICS - -#ifndef _LIBCPP_CXX03_LANG template <bool _IsTuple, class _SizeTrait, size_t _Expected> struct __tuple_like_with_size_imp : false_type {}; @@ -495,7 +492,7 @@ struct _LIBCPP_TYPE_VIS __check_tuple_co template <class ...> static constexpr bool __enable_assign() { return false; } }; -#endif +#endif // !defined(_LIBCPP_CXX03_LANG) #if _LIBCPP_STD_VER > 14 Modified: vendor/libc++/dist/include/algorithm ============================================================================== --- vendor/libc++/dist/include/algorithm Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/include/algorithm Thu Apr 20 21:21:10 2017 (r317224) @@ -2548,7 +2548,7 @@ min(const _Tp& __a, const _Tp& __b) return _VSTD::min(__a, __b, __less<_Tp>()); } -#ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS +#ifndef _LIBCPP_CXX03_LANG template<class _Tp, class _Compare> inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 @@ -2566,7 +2566,7 @@ min(initializer_list<_Tp> __t) return *_VSTD::min_element(__t.begin(), __t.end(), __less<_Tp>()); } -#endif // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS +#endif // _LIBCPP_CXX03_LANG // max_element @@ -2613,7 +2613,7 @@ max(const _Tp& __a, const _Tp& __b) return _VSTD::max(__a, __b, __less<_Tp>()); } -#ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS +#ifndef _LIBCPP_CXX03_LANG template<class _Tp, class _Compare> inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 @@ -2631,7 +2631,7 @@ max(initializer_list<_Tp> __t) return *_VSTD::max_element(__t.begin(), __t.end(), __less<_Tp>()); } -#endif // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS +#endif // _LIBCPP_CXX03_LANG #if _LIBCPP_STD_VER > 14 // clamp @@ -2732,7 +2732,7 @@ minmax(const _Tp& __a, const _Tp& __b) return _VSTD::minmax(__a, __b, __less<_Tp>()); } -#ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS +#ifndef _LIBCPP_CXX03_LANG template<class _Tp, class _Compare> inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 @@ -2779,7 +2779,7 @@ minmax(initializer_list<_Tp> __t) return _VSTD::minmax(__t, __less<_Tp>()); } -#endif // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS +#endif // _LIBCPP_CXX03_LANG // random_shuffle @@ -2837,7 +2837,7 @@ private: _Engine_result_type __mask0_; _Engine_result_type __mask1_; -#ifdef _LIBCPP_HAS_NO_CONSTEXPR +#ifdef _LIBCPP_CXX03_LANG static const _Working_result_type _Rp = _Engine::_Max - _Engine::_Min + _Working_result_type(1); #else @@ -3080,7 +3080,7 @@ random_shuffle(_RandomAccessIterator __f template <class _RandomAccessIterator, class _RandomNumberGenerator> void random_shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last, -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG _RandomNumberGenerator&& __rand) #else _RandomNumberGenerator& __rand) @@ -3173,7 +3173,7 @@ _SampleIterator sample(_PopulationIterat template<class _RandomAccessIterator, class _UniformRandomNumberGenerator> void shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last, -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG _UniformRandomNumberGenerator&& __g) #else _UniformRandomNumberGenerator& __g) Modified: vendor/libc++/dist/include/bitset ============================================================================== --- vendor/libc++/dist/include/bitset Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/include/bitset Thu Apr 20 21:21:10 2017 (r317224) @@ -197,11 +197,11 @@ protected: _LIBCPP_INLINE_VISIBILITY size_t __hash_code() const _NOEXCEPT; private: -#ifdef _LIBCPP_HAS_NO_CONSTEXPR +#ifdef _LIBCPP_CXX03_LANG void __init(unsigned long long __v, false_type) _NOEXCEPT; _LIBCPP_INLINE_VISIBILITY void __init(unsigned long long __v, true_type) _NOEXCEPT; -#endif // _LIBCPP_HAS_NO_CONSTEXPR +#endif // _LIBCPP_CXX03_LANG unsigned long to_ulong(false_type) const; _LIBCPP_INLINE_VISIBILITY unsigned long to_ulong(true_type) const; @@ -217,16 +217,16 @@ template <size_t _N_words, size_t _Size> inline _LIBCPP_CONSTEXPR __bitset<_N_words, _Size>::__bitset() _NOEXCEPT -#ifndef _LIBCPP_HAS_NO_CONSTEXPR +#ifndef _LIBCPP_CXX03_LANG : __first_{0} #endif { -#ifdef _LIBCPP_HAS_NO_CONSTEXPR +#ifdef _LIBCPP_CXX03_LANG _VSTD::fill_n(__first_, _N_words, __storage_type(0)); #endif } -#ifdef _LIBCPP_HAS_NO_CONSTEXPR +#ifdef _LIBCPP_CXX03_LANG template <size_t _N_words, size_t _Size> void @@ -249,13 +249,13 @@ __bitset<_N_words, _Size>::__init(unsign _VSTD::fill(__first_ + 1, __first_ + sizeof(__first_)/sizeof(__first_[0]), __storage_type(0)); } -#endif // _LIBCPP_HAS_NO_CONSTEXPR +#endif // _LIBCPP_CXX03_LANG template <size_t _N_words, size_t _Size> inline _LIBCPP_CONSTEXPR __bitset<_N_words, _Size>::__bitset(unsigned long long __v) _NOEXCEPT -#ifndef _LIBCPP_HAS_NO_CONSTEXPR +#ifndef _LIBCPP_CXX03_LANG #if __SIZEOF_SIZE_T__ == 8 : __first_{__v} #elif __SIZEOF_SIZE_T__ == 4 @@ -265,7 +265,7 @@ __bitset<_N_words, _Size>::__bitset(unsi #endif #endif { -#ifdef _LIBCPP_HAS_NO_CONSTEXPR +#ifdef _LIBCPP_CXX03_LANG __init(__v, integral_constant<bool, sizeof(unsigned long long) == sizeof(__storage_type)>()); #endif } Modified: vendor/libc++/dist/include/exception ============================================================================== --- vendor/libc++/dist/include/exception Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/include/exception Thu Apr 20 21:21:10 2017 (r317224) @@ -209,11 +209,11 @@ struct __throw_with_nested; template <class _Tp, class _Up> struct __throw_with_nested<_Tp, _Up, true> { _LIBCPP_NORETURN static inline _LIBCPP_ALWAYS_INLINE void - #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG __do_throw(_Tp&& __t) - #else +#else __do_throw (_Tp& __t) - #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG { throw __nested<_Up>(_VSTD::forward<_Tp>(__t)); } @@ -222,11 +222,11 @@ struct __throw_with_nested<_Tp, _Up, tru template <class _Tp, class _Up> struct __throw_with_nested<_Tp, _Up, false> { _LIBCPP_NORETURN static inline _LIBCPP_ALWAYS_INLINE void - #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG __do_throw(_Tp&& __t) - #else +#else __do_throw (_Tp& __t) - #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG { throw _VSTD::forward<_Tp>(__t); } @@ -236,11 +236,11 @@ struct __throw_with_nested<_Tp, _Up, fal template <class _Tp> _LIBCPP_NORETURN void -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG throw_with_nested(_Tp&& __t) #else throw_with_nested (_Tp& __t) -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG { #ifndef _LIBCPP_NO_EXCEPTIONS typedef typename decay<_Tp>::type _Up; Modified: vendor/libc++/dist/include/ext/hash_map ============================================================================== --- vendor/libc++/dist/include/ext/hash_map Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/include/ext/hash_map Thu Apr 20 21:21:10 2017 (r317224) @@ -331,7 +331,7 @@ public: __second_constructed(false) {} -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY __hash_map_node_destructor(__hash_node_destructor<allocator_type>&& __x) : __na_(__x.__na_), @@ -340,7 +340,7 @@ public: { __x.__value_constructed = false; } -#else // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#else // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY __hash_map_node_destructor(const __hash_node_destructor<allocator_type>& __x) : __na_(__x.__na_), @@ -349,7 +349,7 @@ public: { const_cast<bool&>(__x.__value_constructed) = false; } -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY void operator()(pointer __p) Modified: vendor/libc++/dist/include/fstream ============================================================================== --- vendor/libc++/dist/include/fstream Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/include/fstream Thu Apr 20 21:21:10 2017 (r317224) @@ -193,13 +193,13 @@ public: // 27.9.1.2 Constructors/destructor: basic_filebuf(); -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG basic_filebuf(basic_filebuf&& __rhs); #endif virtual ~basic_filebuf(); // 27.9.1.3 Assign/swap: -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY basic_filebuf& operator=(basic_filebuf&& __rhs); #endif @@ -276,7 +276,7 @@ basic_filebuf<_CharT, _Traits>::basic_fi setbuf(0, 4096); } -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG template <class _CharT, class _Traits> basic_filebuf<_CharT, _Traits>::basic_filebuf(basic_filebuf&& __rhs) @@ -352,7 +352,7 @@ basic_filebuf<_CharT, _Traits>::operator return *this; } -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG template <class _CharT, class _Traits> basic_filebuf<_CharT, _Traits>::~basic_filebuf() @@ -1017,12 +1017,10 @@ public: _LIBCPP_INLINE_VISIBILITY explicit basic_ifstream(const string& __s, ios_base::openmode __mode = ios_base::in); #endif -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY basic_ifstream(basic_ifstream&& __rhs); -#endif -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES _LIBCPP_INLINE_VISIBILITY basic_ifstream& operator=(basic_ifstream&& __rhs); #endif @@ -1071,7 +1069,7 @@ basic_ifstream<_CharT, _Traits>::basic_i } #endif -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG template <class _CharT, class _Traits> inline @@ -1092,7 +1090,7 @@ basic_ifstream<_CharT, _Traits>::operato return *this; } -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG template <class _CharT, class _Traits> inline @@ -1177,12 +1175,10 @@ public: explicit basic_ofstream(const char* __s, ios_base::openmode __mode = ios_base::out); _LIBCPP_INLINE_VISIBILITY explicit basic_ofstream(const string& __s, ios_base::openmode __mode = ios_base::out); -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY basic_ofstream(basic_ofstream&& __rhs); -#endif -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES _LIBCPP_INLINE_VISIBILITY basic_ofstream& operator=(basic_ofstream&& __rhs); #endif @@ -1231,7 +1227,7 @@ basic_ofstream<_CharT, _Traits>::basic_o } #endif -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG template <class _CharT, class _Traits> inline @@ -1252,7 +1248,7 @@ basic_ofstream<_CharT, _Traits>::operato return *this; } -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG template <class _CharT, class _Traits> inline @@ -1339,12 +1335,10 @@ public: _LIBCPP_INLINE_VISIBILITY explicit basic_fstream(const string& __s, ios_base::openmode __mode = ios_base::in | ios_base::out); #endif -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY basic_fstream(basic_fstream&& __rhs); -#endif -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES _LIBCPP_INLINE_VISIBILITY basic_fstream& operator=(basic_fstream&& __rhs); #endif @@ -1393,7 +1387,7 @@ basic_fstream<_CharT, _Traits>::basic_fs } #endif -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG template <class _CharT, class _Traits> inline @@ -1414,7 +1408,7 @@ basic_fstream<_CharT, _Traits>::operator return *this; } -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG template <class _CharT, class _Traits> inline Modified: vendor/libc++/dist/include/functional ============================================================================== --- vendor/libc++/dist/include/functional Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/include/functional Thu Apr 20 21:21:10 2017 (r317224) @@ -1264,7 +1264,7 @@ private: public: _LIBCPP_INLINE_VISIBILITY __mem_fn(type __f) _NOEXCEPT : __f_(__f) {} -#ifndef _LIBCPP_HAS_NO_VARIADICS +#ifndef _LIBCPP_CXX03_LANG // invoke template <class... _ArgTypes> _LIBCPP_INLINE_VISIBILITY @@ -1454,7 +1454,7 @@ bool __not_null(function<_Fp> const& __f } // namespace __function -#ifndef _LIBCPP_HAS_NO_VARIADICS +#ifndef _LIBCPP_CXX03_LANG namespace __function { @@ -1983,7 +1983,7 @@ void swap(function<_Rp(_ArgTypes...)>& __x, function<_Rp(_ArgTypes...)>& __y) _NOEXCEPT {return __x.swap(__y);} -#else // _LIBCPP_HAS_NO_VARIADICS +#else // _LIBCPP_CXX03_LANG #include <__functional_03> @@ -2047,7 +2047,7 @@ struct __is_placeholder<placeholders::__ : public integral_constant<int, _Np> {}; -#ifndef _LIBCPP_HAS_NO_VARIADICS +#ifndef _LIBCPP_CXX03_LANG template <class _Tp, class _Uj> inline _LIBCPP_INLINE_VISIBILITY @@ -2347,7 +2347,7 @@ bind(_Fp&& __f, _BoundArgs&&... __bound_ return type(_VSTD::forward<_Fp>(__f), _VSTD::forward<_BoundArgs>(__bound_args)...); } -#endif // _LIBCPP_HAS_NO_VARIADICS +#endif // _LIBCPP_CXX03_LANG #if _LIBCPP_STD_VER > 14 Modified: vendor/libc++/dist/include/initializer_list ============================================================================== --- vendor/libc++/dist/include/initializer_list Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/include/initializer_list Thu Apr 20 21:21:10 2017 (r317224) @@ -53,7 +53,7 @@ template<class E> const E* end(initializ namespace std // purposefully not versioned { -#ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS +#ifndef _LIBCPP_CXX03_LANG template<class _Ep> class _LIBCPP_TEMPLATE_VIS initializer_list @@ -111,7 +111,7 @@ end(initializer_list<_Ep> __il) _NOEXCEP return __il.end(); } -#endif // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS +#endif // !defined(_LIBCPP_CXX03_LANG) } // std Modified: vendor/libc++/dist/include/ios ============================================================================== --- vendor/libc++/dist/include/ios Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/include/ios Thu Apr 20 21:21:10 2017 (r317224) @@ -657,7 +657,7 @@ protected: _LIBCPP_INLINE_VISIBILITY void move(basic_ios& __rhs); -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG _LIBCPP_ALWAYS_INLINE void move(basic_ios&& __rhs) {move(__rhs);} #endif Modified: vendor/libc++/dist/include/istream ============================================================================== --- vendor/libc++/dist/include/istream Thu Apr 20 21:21:04 2017 (r317223) +++ vendor/libc++/dist/include/istream Thu Apr 20 21:21:10 2017 (r317224) @@ -189,12 +189,11 @@ public: { this->init(__sb); } virtual ~basic_istream(); protected: -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG inline _LIBCPP_INLINE_VISIBILITY basic_istream(basic_istream&& __rhs); -#endif + // 27.7.1.1.2 Assign/swap: -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES inline _LIBCPP_INLINE_VISIBILITY basic_istream& operator=(basic_istream&& __rhs); #endif @@ -332,7 +331,7 @@ basic_istream<_CharT, _Traits>::sentry:: __is.setstate(ios_base::failbit); } -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG template <class _CharT, class _Traits> basic_istream<_CharT, _Traits>::basic_istream(basic_istream&& __rhs) @@ -350,7 +349,7 @@ basic_istream<_CharT, _Traits>::operator return *this; } -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_CXX03_LANG template <class _CharT, class _Traits> basic_istream<_CharT, _Traits>::~basic_istream() @@ -1424,7 +1423,7 @@ ws(basic_istream<_CharT, _Traits>& __is) return __is; } *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704202121.v3KLLACK002880>