[clang] [clang/docs] add a missing brace in ClangFormatStyleOptions.rst (PR #145145)

Tal Kedar via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 20 20:36:24 PDT 2025


https://github.com/kedartal created https://github.com/llvm/llvm-project/pull/145145

... in the example for `WrapNamespaceBodyWithEmptyLines: Never`

>From 90cf52899532e4f5d535127adb903193fe04dda7 Mon Sep 17 00:00:00 2001
From: Tal Kedar <tal.kedar at k2dq.com>
Date: Fri, 20 Jun 2025 23:28:46 -0400
Subject: [PATCH] [clang/docs] add a missing brace in
 ClangFormatStyleOptions.rst

... in the example for `WrapNamespaceBodyWithEmptyLines: Never`
---
 clang/docs/ClangFormatStyleOptions.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst
index 83716cc049ee3..548c73af65872 100644
--- a/clang/docs/ClangFormatStyleOptions.rst
+++ b/clang/docs/ClangFormatStyleOptions.rst
@@ -6992,7 +6992,7 @@ the configuration (without a prefix: ``Auto``).
     .. code-block:: c++
 
       namespace N1 {
-      namespace N2
+      namespace N2 {
       function();
       }
       }



More information about the cfe-commits mailing list