Mordante created this revision. Mordante added a reviewer: ChuanqiXu. Herald added a project: All. Mordante requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
This was discussed in https://llvm.org/PR61006. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D144894 Files: clang/docs/StandardCPlusPlusModules.rst Index: clang/docs/StandardCPlusPlusModules.rst =================================================================== --- clang/docs/StandardCPlusPlusModules.rst +++ clang/docs/StandardCPlusPlusModules.rst @@ -1033,6 +1033,12 @@ $ clang-scan-deps -format=p1689 -- <path-to-compiler-executable>/clang++ -std=c++20 impl_part.cppm -c -o impl_part.o +.. warning:: + + The ``<path-to-compiler-executable>/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
Index: clang/docs/StandardCPlusPlusModules.rst =================================================================== --- clang/docs/StandardCPlusPlusModules.rst +++ clang/docs/StandardCPlusPlusModules.rst @@ -1033,6 +1033,12 @@ $ clang-scan-deps -format=p1689 -- <path-to-compiler-executable>/clang++ -std=c++20 impl_part.cppm -c -o impl_part.o +.. warning:: + + The ``<path-to-compiler-executable>/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
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits