[clang] [clang][ReleaseNotes] Fix code block not rendering (PR #135330)
Mészáros Gergely via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 11 01:47:01 PDT 2025
https://github.com/Maetveis created https://github.com/llvm/llvm-project/pull/135330
Bullet lists require a blank line between paragraphs therefore the `.. code-block::` directive only renders correctly if preceded by a blank line.
>From d5f1688b4675442804ae6c8610b8d2e9b60e33db Mon Sep 17 00:00:00 2001
From: Gergely Meszaros <gergely.meszaros at intel.com>
Date: Fri, 11 Apr 2025 01:34:11 -0700
Subject: [PATCH] [clang][ReleaseNotes] Fix code block not rendering
Bullet lists require a blank line between paragraphs therefore the
`.. code-block::` directive only renders correctly if preceded by a
blank line.
---
clang/docs/ReleaseNotes.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 46d2debec3621..69c7369755c67 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -334,6 +334,7 @@ Improvements to Clang's diagnostics
- Fixed an assertion when referencing an out-of-bounds parameter via a function
attribute whose argument list refers to parameters by index and the function
is variadic. e.g.,
+
.. code-block:: c
__attribute__ ((__format_arg__(2))) void test (int i, ...) { }
More information about the cfe-commits
mailing list