This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG8dbeb41f8ebd: [clang] Documents clang-scan-deps requirements. (authored by Mordante).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D144894/new/ 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