Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 21, 2025

Conversation

kedartal
Copy link
Contributor

... in the example for WrapNamespaceBodyWithEmptyLines: Never

@llvmbot llvmbot added the clang Clang issues not falling into any other category label Jun 21, 2025
@llvmbot
Copy link
Member

llvmbot commented Jun 21, 2025

@llvm/pr-subscribers-clang-format

@llvm/pr-subscribers-clang

Author: Tal Kedar (kedartal)

Changes

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

@zwuis zwuis requested a review from owenca June 21, 2025 04:47
... in the example for `WrapNamespaceBodyWithEmptyLines: Never`
@kedartal
Copy link
Contributor Author

kedartal commented Jun 21, 2025

I knew there was a reason why they taught me how to read :)

@HazardyKnusperkeks HazardyKnusperkeks merged commit 2ed089f into llvm:main Jun 21, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang Clang issues not falling into any other category clang-format
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy