[libcxx-commits] [PATCH] D157785: [docs] Fix include-what-you-use example
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Aug 19 04:33:14 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGeac0b67ed1da: [docs] Fix include-what-you-use example (authored by kimgr, committed by Mordante).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157785/new/
https://reviews.llvm.org/D157785
Files:
libcxx/docs/UsingLibcxx.rst
Index: libcxx/docs/UsingLibcxx.rst
===================================================================
--- libcxx/docs/UsingLibcxx.rst
+++ libcxx/docs/UsingLibcxx.rst
@@ -133,7 +133,7 @@
.. code-block:: bash
- $ include-what-you-use -Xiwyu /path/to/libcxx/include/libcxx.imp file.cpp
+ $ include-what-you-use -Xiwyu --mapping_file=/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``
file with the libc++-provided ``libcxx.imp`` file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157785.551741.patch
Type: text/x-patch
Size: 551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230819/d21db3fa/attachment.bin>
More information about the libcxx-commits
mailing list