Passw updated this revision to Diff 457438. Passw added a comment. modify Foramt.h and generate ClangFormatStyleOptions.rst by running dump_format_style.py
CHANGES SINCE LAST ACTION https://reviews.llvm.org/D133087/new/ https://reviews.llvm.org/D133087 Files: clang/docs/ClangFormatStyleOptions.rst clang/include/clang/Format/Format.h Index: clang/include/clang/Format/Format.h =================================================================== --- clang/include/clang/Format/Format.h +++ clang/include/clang/Format/Format.h @@ -1423,11 +1423,11 @@ /// Wrap class definitions. /// \code /// true: - /// class foo {}; - /// - /// false: /// class foo /// {}; + /// + /// false: + /// class foo {}; /// \endcode bool AfterClass; Index: clang/docs/ClangFormatStyleOptions.rst =================================================================== --- clang/docs/ClangFormatStyleOptions.rst +++ clang/docs/ClangFormatStyleOptions.rst @@ -1439,12 +1439,12 @@ .. code-block:: c++ true: - class foo {}; - - false: class foo {}; + false: + class foo {}; + * ``BraceWrappingAfterControlStatementStyle AfterControlStatement`` Wrap control statements (``if``/``for``/``while``/``switch``/..).
Index: clang/include/clang/Format/Format.h =================================================================== --- clang/include/clang/Format/Format.h +++ clang/include/clang/Format/Format.h @@ -1423,11 +1423,11 @@ /// Wrap class definitions. /// \code /// true: - /// class foo {}; - /// - /// false: /// class foo /// {}; + /// + /// false: + /// class foo {}; /// \endcode bool AfterClass; Index: clang/docs/ClangFormatStyleOptions.rst =================================================================== --- clang/docs/ClangFormatStyleOptions.rst +++ clang/docs/ClangFormatStyleOptions.rst @@ -1439,12 +1439,12 @@ .. code-block:: c++ true: - class foo {}; - - false: class foo {}; + false: + class foo {}; + * ``BraceWrappingAfterControlStatementStyle AfterControlStatement`` Wrap control statements (``if``/``for``/``while``/``switch``/..).
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits