]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Apply libc++ fix for <ranges> not compiling at all
authorDimitry Andric <dim@FreeBSD.org>
Thu, 7 Apr 2022 20:04:53 +0000 (22:04 +0200)
committerDimitry Andric <dim@FreeBSD.org>
Sat, 4 Jun 2022 12:00:04 +0000 (14:00 +0200)
commitd3978dca08ee3d50ec8b01dfe90d388e0499bded
treed87beebb42acba54414f5b91e63dd4697bd05157
parent3b668af44d601c00453753a23f5ef30ec61025a8
Apply libc++ fix for <ranges> not compiling at all

Merge commit 44cdca37c01a from llvm git (by Arthur O'Dwyer):

  [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 53683b95ef66a12337999587cd98302b1b425920)
contrib/llvm-project/libcxx/include/__ranges/views.h [new file with mode: 0644]
contrib/llvm-project/libcxx/include/module.modulemap
contrib/llvm-project/libcxx/include/ranges
lib/libc++/Makefile