[all-commits] [llvm/llvm-project] 7ba362: [libc++] Clean up test_iterators.h. NFCI.

Quuxplusone via All-commits all-commits at lists.llvm.org
Thu Sep 9 18:21:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ba3627b546450bd76ddc47076847a15ae53a9f1
      https://github.com/llvm/llvm-project/commit/7ba3627b546450bd76ddc47076847a15ae53a9f1
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2021-09-09 (Thu, 09 Sep 2021)

  Changed paths:
    M libcxx/test/support/test_iterators.h

  Log Message:
  -----------
  [libc++] Clean up test_iterators.h. NFCI.

The majority of the changes here are whitespace.
Also simplify `ThrowingIterator`'s bookkeeping (NFC).
Also move some free operators into hidden friends, for sanity's sake.
Also `=delete` some more comma operators.
Also use `constexpr` in C++20 instead of `TEST_CONSTEXPR_CXX14`.

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




More information about the All-commits mailing list