[PATCH] D76534: [clang/docs] Fix various sphinx warnings/errors in docs.

Florian Hahn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 23 08:09:23 PDT 2020


fhahn added a comment.

In D76534#1934943 <https://reviews.llvm.org/D76534#1934943>, @rjmccall wrote:

> Is the option issue causing the documentation to be wrong in any way, or does it just produce a warning?  If the latter, we could raise this issue with them.


I think it just produces a warning, it looks like sphinx still creates unique labels, e.g. https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-flto for `-flto` and https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang1-flto for `-flto=`. But LLVM/Clang defaults to SPHINX_WARNINGS_AS_ERRORS=ON and there are quite a few instances of this warning.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76534/new/

https://reviews.llvm.org/D76534





More information about the cfe-commits mailing list