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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Tal Kedar (kedartal)

<details>
<summary>Changes</summary>

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

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


1 Files Affected:

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


``````````diff
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();
       }
       }

``````````

</details>


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


More information about the cfe-commits mailing list