[docs] Fix reST formatting in UsingLibcxx IWYU section

The link syntax was missing a trailing underscore, and there was an
extraneous backtick on the reference to IWYU's libcxx.imp.

Reviewed By: #libc, philnik

Spies: Mordante, libcxx-commits

Differential Revision: https://reviews.llvm.org/D157784
This commit is contained in:
Kim Gräsman 2023-08-15 12:14:27 -07:00 committed by Nikolas Klauser
parent b7c7b1e530
commit 3920c1c5b1

View File

@ -127,7 +127,7 @@ provide pretty-printers itself. Those can be used as:
include-what-you-use (IWYU)
===========================
libc++ provides an IWYU `mapping file <https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUMappings.md>`,
libc++ provides an IWYU `mapping file <https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUMappings.md>`_,
which drastically improves the accuracy of the tool when using libc++. To use the mapping file with
IWYU, you should run the tool like so:
@ -135,7 +135,7 @@ IWYU, you should run the tool like so:
$ include-what-you-use -Xiwyu /path/to/libcxx/include/libcxx.imp file.cpp
If you would prefer to not use that flag, then you can replace ``/path/to/include-what-you-use/share/libcxx.imp```
If you would prefer to not use that flag, then you can replace ``/path/to/include-what-you-use/share/libcxx.imp``
file with the libc++-provided ``libcxx.imp`` file.
.. _termination-handler: