Author: Tal Kedar Date: 2025-06-21T20:00:22+02:00 New Revision: 2ed089fb18b92ad668509076b9830f55d96d27fe
URL: https://github.com/llvm/llvm-project/commit/2ed089fb18b92ad668509076b9830f55d96d27fe DIFF: https://github.com/llvm/llvm-project/commit/2ed089fb18b92ad668509076b9830f55d96d27fe.diff LOG: [clang/docs] add a missing brace in ClangFormatStyleOptions.rst (#145145) ... in the example for `WrapNamespaceBodyWithEmptyLines: Never` Added: Modified: clang/docs/ClangFormatStyleOptions.rst clang/include/clang/Format/Format.h Removed: ################################################################################ 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(); } } diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h index 127b1d08919de..2a5cf5fb50db1 100644 --- a/clang/include/clang/Format/Format.h +++ b/clang/include/clang/Format/Format.h @@ -5275,7 +5275,7 @@ struct FormatStyle { /// Remove all empty lines at the beginning and the end of namespace body. /// \code /// namespace N1 { - /// namespace N2 + /// namespace N2 { /// function(); /// } /// } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits