summaryrefslogtreecommitdiffstats
path: root/libcxx/docs
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-03-21 16:21:09 +0000
committerLouis Dionne <ldionne@apple.com>2019-03-21 16:21:09 +0000
commit952387251e7e11d65336ab31433114f6db50a21b (patch)
treeeca4d99a6502064044d82cfd84755db8213484d4 /libcxx/docs
parent9b7aa02b539fcf3856da8da9e2b89809da7935c9 (diff)
downloadbcm5719-llvm-952387251e7e11d65336ab31433114f6db50a21b.tar.gz
bcm5719-llvm-952387251e7e11d65336ab31433114f6db50a21b.zip
[libc++] Re-document how to use <filesystem> with various versions of libc++
This documentation was removed when we added <filesystem> to the dylib in r356518, but it really should have been updated to reflect the new state of things. Keeping documentation around doesn't hurt and users will have an easier time migrating. llvm-svn: 356681
Diffstat (limited to 'libcxx/docs')
-rw-r--r--libcxx/docs/UsingLibcxx.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/libcxx/docs/UsingLibcxx.rst b/libcxx/docs/UsingLibcxx.rst
index 2055a5ab65d..d8051164caf 100644
--- a/libcxx/docs/UsingLibcxx.rst
+++ b/libcxx/docs/UsingLibcxx.rst
@@ -49,6 +49,16 @@ An example of using ``LD_LIBRARY_PATH``:
$ export LD_LIBRARY_PATH=<libcxx-install-prefix>/lib
$ ./a.out # Searches for libc++ along LD_LIBRARY_PATH
+Using ``<filesystem>``
+======================
+
+Prior to LLVM 9.0, libc++ provides the implementation of the filesystem library
+in a separate static library. Users of ``<filesystem>`` and ``<experimental/filesystem>``
+are required to link ``-lc++fs``. Prior to libc++ 7.0, users of
+``<experimental/filesystem>`` were required to link libc++experimental.
+
+Starting with LLVM 9.0, support for ``<filesystem>`` is provided in the main
+library and nothing special is required to use ``<filesystem>``.
Using libc++experimental and ``<experimental/...>``
=====================================================
OpenPOWER on IntegriCloud