[all-commits] [llvm/llvm-project] 06e2b7: [libc++] [P1032] Misc constexpr bits in <iterator>...

Quuxplusone via All-commits all-commits at lists.llvm.org
Thu Mar 25 07:35:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06e2b737aa0347b42e8bf37cb00a053eab0a9393
      https://github.com/llvm/llvm-project/commit/06e2b737aa0347b42e8bf37cb00a053eab0a9393
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2021-03-25 (Thu, 25 Mar 2021)

  Changed paths:
    M libcxx/docs/Cxx2aStatusPaperStatus.csv
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/include/iterator
    M libcxx/include/string_view
    M libcxx/include/tuple
    M libcxx/include/utility
    M libcxx/include/version
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.compile.fail.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op++/post.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op++/pre.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op=/lv_value.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op=/rv_value.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_astrk/test.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.compile.fail.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op++/post.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op++/pre.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op=/lv_value.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op=/rv_value.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_astrk/test.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.inserter/test.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.cons/test.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op++/post.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op++/pre.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_astrk/test.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/inserter/test.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/string.version.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/string_view.version.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/tuple.version.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
    M libcxx/test/std/strings/string.view/string.view.ops/copy.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/const_pair.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_copy.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_move.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/copy.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/move.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/make_tuple.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.swap/member_swap.pass.cpp
    M libcxx/test/std/utilities/utility/pairs/pair.piecewise/piecewise_construct.pass.cpp
    A libcxx/test/support/test_constexpr_container.h
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++] [P1032] Misc constexpr bits in <iterator>, <string_view>, <tuple>, <utility>.

This completes the implementation of P1032's changes to <iterator>,
<string_view>, <tuple>, and <utility> in C++20.
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1032r1.html

Drive-by fix a couple of unintended rvalues in "*iterators*/*.fail.cpp".

Differential Revision: https://reviews.llvm.org/D96385


  Commit: e21ab31f45a440e195f9c914083d57718e0de3b7
      https://github.com/llvm/llvm-project/commit/e21ab31f45a440e195f9c914083d57718e0de3b7
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2021-03-25 (Thu, 25 Mar 2021)

  Changed paths:
    M libcxx/include/compare

  Log Message:
  -----------
  [libc++] Eliminate <compare>'s dependency on <array>.

This refactor is not only a good idea, but is in fact required by the standard,
in the sense that <array> is mandated to include <compare>.
So <compare> shouldn't have a circular dependency on <array>!

Differential Revision: https://reviews.llvm.org/D99307


Compare: https://github.com/llvm/llvm-project/compare/1f4649969062...e21ab31f45a4


More information about the All-commits mailing list