[libcxx-commits] [libcxx] Polishing documentation of libc++ (PR #132962)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 26 00:19:05 PDT 2025
================
@@ -39,26 +39,26 @@ Usually, libc++ is packaged and shipped by a vendor through some delivery vehicl
(operating system distribution, SDK, toolchain, etc) and users don't need to do
anything special in order to use the library.
-On systems where libc++ is provided but is not the default, Clang provides a flag
-called ``-stdlib=`` that can be used to decide which standard library is used.
+However, on systems where libc++ is provided but is not the default, Clang can be invoked
+with the ``-stdlib=`` flag to select which standard library is used.
Using ``-stdlib=libc++`` will select libc++:
.. code-block:: bash
$ clang++ -stdlib=libc++ test.cpp
-On systems where libc++ is the library in use by default such as macOS and FreeBSD,
-this flag is not required.
+This flag is not required on systems where libc++ is the library in use by default,
----------------
philnik777 wrote:
```suggestion
This flag is not required on systems where libc++ is the default standard library,
```
https://github.com/llvm/llvm-project/pull/132962
More information about the libcxx-commits
mailing list