[clang] [clang][ReleaseNotes] Fix code block not rendering (PR #135330)

via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 11 01:51:16 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Mészáros Gergely (Maetveis)

<details>
<summary>Changes</summary>

Bullet lists require a blank line between paragraphs therefore the `.. code-block::` directive only renders correctly if preceded by a blank line.

---
Full diff: https://github.com/llvm/llvm-project/pull/135330.diff


1 Files Affected:

- (modified) clang/docs/ReleaseNotes.rst (+1) 


``````````diff
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, ...) { }

``````````

</details>


https://github.com/llvm/llvm-project/pull/135330


More information about the cfe-commits mailing list