[libcxx-commits] [PATCH] D157785: [docs] Fix include-what-you-use example
Kim Gräsman via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Aug 15 12:48:40 PDT 2023
kimgr updated this revision to Diff 550436.
kimgr added a comment.
Rebase
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.550436.patch
Type: text/x-patch
Size: 551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230815/eed9c53e/attachment.bin>
More information about the libcxx-commits
mailing list