[llvm-dev] Question for Sphinx experts
Paul C. Anagnostopoulos via llvm-dev
llvm-dev at lists.llvm.org
Mon Jan 25 10:10:55 PST 2021
In the Tablegen xxx-tblgen command documentation, the following lines appear:
.. option:: -gen-directive-decl
in the llvm-tblgen command option list, and
.. option:: -gen-directive-decl
in the mlir-tblgen command option list.
They both generate the same target name, resulting in the warning:
...CommandGuide/tblgen.rst:589:Duplicate explicit target name: "cmdoption-tblgen-gen-directive-decl".
The warning messes you up if you're building with warnings treated as errors. Does anyone know how to fix this?
More information about the llvm-dev
mailing list