[libcxx][modularisation] properly modularises advance, next, and prev
authorChristopher Di Bella <cjdb@google.com>
Tue, 29 Jun 2021 03:53:44 +0000 (03:53 +0000)
committerChristopher Di Bella <cjdb@google.com>
Thu, 22 Jul 2021 23:30:02 +0000 (23:30 +0000)
commit0cf65382ade209d11c186639c18a2e262866d689
tree76f3491d6cd9a0b1e2c143a6ed3146820145c902
parent207c4d4d37d4a2e812a8bbd772aae822fee75640
[libcxx][modularisation] properly modularises advance, next, and prev

`__function_like` wasn't being exported, so certain properties of the
`ranges` functions weren't being propagated in modules land.

Differential Revision: https://reviews.llvm.org/D105078
libcxx/include/__iterator/advance.h
libcxx/include/module.modulemap
libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/special_function.compile.pass.cpp
libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/special_function.compile.pass.cpp
libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/special_function.compile.pass.cpp