[all-commits] [llvm/llvm-project] 267a23: [libcxx][ranges] revert join_view::iterator and se...

Emilia Dreamer via All-commits all-commits at lists.llvm.org
Sun Mar 5 23:21:50 PST 2023


  Branch: refs/heads/release/16.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 267a23b4ec1dce06eead759837cedd32144315ed
      https://github.com/llvm/llvm-project/commit/267a23b4ec1dce06eead759837cedd32144315ed
  Author: Hui <hui.xie0621 at gmail.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M libcxx/include/__ranges/join_view.h
    A libcxx/test/libcxx/containers/sequences/deque/segmented_iterator.compile.pass.cpp
    A libcxx/test/libcxx/ranges/range.adaptors/range.join/segmented_iterator.compile.pass.cpp

  Log Message:
  -----------
  [libcxx][ranges] revert join_view::iterator and sentinel to be in-class

(cherry picked from commit 3b059cd25b8ce31762b76a3b172fdd811c07dc34)


  Commit: 37e7b7d890f82adf09a3e546383b094c9253b8e7
      https://github.com/llvm/llvm-project/commit/37e7b7d890f82adf09a3e546383b094c9253b8e7
  Author: Hui <hui.xie0621 at gmail.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M libcxx/include/__ranges/elements_view.h
    M libcxx/include/__ranges/filter_view.h
    M libcxx/include/__ranges/iota_view.h
    M libcxx/include/__ranges/istream_view.h
    M libcxx/include/__ranges/split_view.h
    M libcxx/include/__ranges/take_while_view.h
    M libcxx/include/__ranges/transform_view.h
    A libcxx/test/std/ranges/iterator_robust_against_adl.compile.pass.cpp

  Log Message:
  -----------
  [libc++][ranges] move all range iterators back in class

move all range iterators back in class, as out of class iterators
requires extra template parameters, which changes ADL

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

(cherry picked from commit 4c2ad195f8c9fe4e3f8a57502d5334d6cbc74f76)


  Commit: e479b9520706f6e77fc69ff77eeafa213d9edd63
      https://github.com/llvm/llvm-project/commit/e479b9520706f6e77fc69ff77eeafa213d9edd63
  Author: Konstantin Varlamov <varconst at apple.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M libcxx/include/__config
    M libcxx/include/__type_traits/add_pointer.h
    M libcxx/include/__type_traits/remove_pointer.h
    A libcxx/test/std/utilities/meta/meta.trans/objc_support.pass.mm

  Log Message:
  -----------
  [libc++] Temporarily not use compiler intrinsics for some type traits in Objective-C++ mode.

Currently, there are bugs in Clang's intrinsics for type traits when
handling Objective-C++ `id` (e.g. in `add_pointer`). As a temporary
workaround, don't use these intrinsics in the Objective-C++ mode.

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

(cherry picked from commit 87cf39aa349b83ae3b7d16c30ac7a8ffa0ad098c)


  Commit: 29a7dbb28610a849ea85861d77a4900cddb31bfa
      https://github.com/llvm/llvm-project/commit/29a7dbb28610a849ea85861d77a4900cddb31bfa
  Author: Hui <hui.xie0621 at gmail.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M libcxx/docs/Status/RangesViews.csv

  Log Message:
  -----------
  [libc++][NFC] update Range Status for the completion of C++20 ranges

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

(cherry picked from commit c510c387631ee58ccba74d6ad0f375d2ab098bb2)


  Commit: 076ceb7acede727c49a647e7d6e3d720f1fb8df0
      https://github.com/llvm/llvm-project/commit/076ceb7acede727c49a647e7d6e3d720f1fb8df0
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/AArch64/pr61111.ll

  Log Message:
  -----------
  [DAGCombiner] Replace LegalOperations check in visitSIGN_EXTEND with LegalTypes.

This is guarding a check for isTypeLegal so it should check is
LegalTypes.

Fixes PR61111.

Reviewed By: RKSimon

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

(cherry picked from commit c546f13f1f43e34a6a39ac70d3cf70adab4d05f4)


  Commit: 5cdefb41c35bd79b763efcf467c0a9d5e211970e
      https://github.com/llvm/llvm-project/commit/5cdefb41c35bd79b763efcf467c0a9d5e211970e
  Author: Emilia Dreamer <emilia at rymiel.space>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M clang/lib/Format/QualifierAlignmentFixer.cpp
    M clang/unittests/Format/QualifierFixerTest.cpp

  Log Message:
  -----------
  [clang-format] Don't move qualifiers past pointers-to-member

Previously, given a pointer-to-member type such as `Foo const Bar::*`,
clang-format would see the `const Bar::` part as a regular type name
with scope resolution operators, and with `QualifierAlignment: Right` it
would attempt to "fix" it, resulting in `Foo Bar::const *`, a syntax
error.

This patch no longer allows qualifiers to be moved across `::*`.

Fixes https://github.com/llvm/llvm-project/issues/60898

Reviewed By: owenpan, MyDeveloperDay, HazardyKnusperkeks

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

(cherry picked from commit 393e197cd6eb8942c4eaec3fd6d05bc2e2289212)


Compare: https://github.com/llvm/llvm-project/compare/60bba0f5a777...5cdefb41c35b


More information about the All-commits mailing list