https://github.com/abidh created 
https://github.com/llvm/llvm-project/pull/142387

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.

>From b225852be24bf300e3841052856af795bcb897ed Mon Sep 17 00:00:00 2001
From: Abid Qadeer <haqad...@amd.com>
Date: Mon, 2 Jun 2025 14:03:29 +0100
Subject: [PATCH] [clang][docs] Fix docs-clang-html.

I observed that docs-clang-html is failing since 
https://github.com/llvm/llvm-project/pull/142158,

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.
---
 clang/include/clang/Basic/DiagnosticGroups.td | 1 +
 1 file changed, 1 insertion(+)

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")))``.

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to