llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Abid Qadeer (abidh) <details> <summary>Changes</summary> I observed that docs-clang-html is failing since https://github.com/llvm/llvm-project/pull/142158 with the following: Warning, treated as error: tools/clang/docs/DiagnosticsReference.rst:18000:Unexpected indentation. ninja: build stopped: subcommand failed. Adding an extra empty line here fixes the build. --- Full diff: https://github.com/llvm/llvm-project/pull/142387.diff 1 Files Affected: - (modified) clang/include/clang/Basic/DiagnosticGroups.td (+1) ``````````diff diff --git a/clang/include/clang/Basic/DiagnosticGroups.td b/clang/include/clang/Basic/DiagnosticGroups.td index 60c650583801a..0161b3953f282 100644 --- a/clang/include/clang/Basic/DiagnosticGroups.td +++ b/clang/include/clang/Basic/DiagnosticGroups.td @@ -821,6 +821,7 @@ As well as one of the following: The warning can be resolved by removing one of the conditions above. In rough order of preference, this may be done by: + 1. Marking the object ``const`` (if possible) 2. Moving the object's definition to a source file 3. Giving the object non-hidden visibility, e.g. using ``__attribute((visibility("default")))``. `````````` </details> https://github.com/llvm/llvm-project/pull/142387 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits