[all-commits] [llvm/llvm-project] b177a9: [libc++] Always enable the ranges concepts

philnik777 via All-commits all-commits at lists.llvm.org
Mon May 23 11:45:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b177a90ce7b590dfce6479142f46fd1b9554a3b3
      https://github.com/llvm/llvm-project/commit/b177a90ce7b590dfce6479142f46fd1b9554a3b3
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2022-05-23 (Mon, 23 May 2022)

  Changed paths:
    M libcxx/include/__ranges/concepts.h
    M libcxx/include/__ranges/data.h
    M libcxx/include/__ranges/size.h
    M libcxx/test/libcxx/ranges/has-no-incomplete-ranges.compile.pass.cpp
    M libcxx/test/std/iterators/predef.iterators/move.iterators/move.sentinel/concept_conformance.compile.pass.cpp
    M libcxx/test/std/ranges/range.access/data.pass.cpp
    M libcxx/test/std/ranges/range.access/size.pass.cpp
    M libcxx/test/std/ranges/range.req/range.refinements/common_range.compile.pass.cpp
    M libcxx/test/std/ranges/range.req/range.refinements/subsumption.compile.pass.cpp

  Log Message:
  -----------
  [libc++] Always enable the ranges concepts

The ranges concepts were already available in libc++13, so we shouldn't guard them with `_LIBCPP_HAS_NO_INCOMPLETE_RANGES`.
Fixes https://github.com/llvm/llvm-project/issues/54765

Reviewed By: #libc, ldionne

Spies: ldionne, libcxx-commits

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




More information about the All-commits mailing list