Skip to content

Commit 2ed089f

Browse files
authored
[clang/docs] add a missing brace in ClangFormatStyleOptions.rst (#145145)
... in the example for `WrapNamespaceBodyWithEmptyLines: Never`
1 parent 6c8c816 commit 2ed089f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/docs/ClangFormatStyleOptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6992,7 +6992,7 @@ the configuration (without a prefix: ``Auto``).
69926992
.. code-block:: c++
69936993

69946994
namespace N1 {
6995-
namespace N2
6995+
namespace N2 {
69966996
function();
69976997
}
69986998
}

clang/include/clang/Format/Format.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5275,7 +5275,7 @@ struct FormatStyle {
52755275
/// Remove all empty lines at the beginning and the end of namespace body.
52765276
/// \code
52775277
/// namespace N1 {
5278-
/// namespace N2
5278+
/// namespace N2 {
52795279
/// function();
52805280
/// }
52815281
/// }

0 commit comments

Comments
 (0)