[all-commits] [llvm/llvm-project] 44cdca: [libc++] Define `namespace views` in its own detai...

Quuxplusone via All-commits all-commits at lists.llvm.org
Fri Feb 4 09:38:46 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44cdca37c01a58da94087be8ebd0ee2bd2ba724e
      https://github.com/llvm/llvm-project/commit/44cdca37c01a58da94087be8ebd0ee2bd2ba724e
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2022-02-04 (Fri, 04 Feb 2022)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__ranges/views.h
    M libcxx/include/module.modulemap
    M libcxx/include/ranges
    A libcxx/test/libcxx/diagnostics/detail.headers/ranges/views.module.verify.cpp

  Log Message:
  -----------
  [libc++] Define `namespace views` in its own detail header.

Discovered in the comments on D118748: we would like this namespace
to exist anytime Ranges exists, regardless of whether concepts syntax
is supported. Also, we'd like to fully granularize the <ranges> header,
which means not putting any loose declarations at the top level.

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




More information about the All-commits mailing list