[all-commits] [llvm/llvm-project] e1e17a: [libc++][ranges][NFC] Refactor tests for `ranges::...

Konstantin Varlamov via All-commits all-commits at lists.llvm.org
Fri Feb 11 15:16:09 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1e17a648962d3dd014fd8397e6d9d0d3259686e
      https://github.com/llvm/llvm-project/commit/e1e17a648962d3dd014fd8397e6d9d0d3259686e
  Author: Konstantin Varlamov <varconst at apple.com>
  Date:   2022-02-11 (Fri, 11 Feb 2022)

  Changed paths:
    M libcxx/include/__ranges/access.h
    M libcxx/test/std/ranges/range.access/begin.pass.cpp
    M libcxx/test/std/ranges/range.access/end.pass.cpp

  Log Message:
  -----------
  [libc++][ranges][NFC] Refactor tests for `ranges::{begin,end}`.

- add some test cases for `cbegin`/`cend`;
- make class definitions generally follow the order in which they are
  used;
- add a missing include.

Reviewed By: philnik

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




More information about the All-commits mailing list