diff --git a/clang/docs/StandardCPlusPlusModules.rst b/clang/docs/StandardCPlusPlusModules.rst --- a/clang/docs/StandardCPlusPlusModules.rst +++ b/clang/docs/StandardCPlusPlusModules.rst @@ -1033,6 +1033,12 @@ $ clang-scan-deps -format=p1689 -- /clang++ -std=c++20 impl_part.cppm -c -o impl_part.o +.. warning:: + + The ``/clang++`` should point to the real + binary and not to a symlink. If it points to a symlink the include paths + will not be correctly resolved. + And we'll get: .. code-block:: text