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

Quuxplusone via All-commits all-commits at lists.llvm.org
Mon Apr 11 08:43:29 PDT 2022

  Branch: refs/heads/release/14.x
  Home:   https://github.com/llvm/llvm-project
  Commit: d4e3c50b2bda796636bb283ab1a615f3333f75d9
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2022-04-11 (Mon, 11 Apr 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

(cherry picked from commit 44cdca37c01a58da94087be8ebd0ee2bd2ba724e)

More information about the All-commits mailing list