mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-08 03:13:58 +00:00
[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:
parent
b7c7b1e530
commit
3920c1c5b1
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user