This revision was automatically updated to reflect the committed changes. Closed by commit rG961fd77687d2: [clang-format][docs] Fix incorrect 'clang-format 4' option markers (authored by kuzkry, committed by HazardyKnusperkeks).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D129934/new/ https://reviews.llvm.org/D129934 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 @@ -2980,7 +2980,7 @@ /// /* second veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongComment with plenty of /// * information */ /// \endcode - /// \version 4 + /// \version 3.8 bool ReflowComments; // clang-format on @@ -3236,7 +3236,7 @@ /// insensitive fashion. /// If ``CaseSensitive``, includes are sorted in an alphabetical or case /// sensitive fashion. - /// \version 4 + /// \version 3.8 SortIncludesOptions SortIncludes; /// Position for Java Static imports. Index: clang/docs/ClangFormatStyleOptions.rst =================================================================== --- clang/docs/ClangFormatStyleOptions.rst +++ clang/docs/ClangFormatStyleOptions.rst @@ -3670,7 +3670,7 @@ -**ReflowComments** (``Boolean``) :versionbadge:`clang-format 4` +**ReflowComments** (``Boolean``) :versionbadge:`clang-format 3.8` If ``true``, clang-format will attempt to re-flow comments. .. code-block:: c++ @@ -3910,7 +3910,7 @@ int bar; int bar; } // namespace b } // namespace b -**SortIncludes** (``SortIncludesOptions``) :versionbadge:`clang-format 4` +**SortIncludes** (``SortIncludesOptions``) :versionbadge:`clang-format 3.8` Controls if and how clang-format will sort ``#includes``. If ``Never``, includes are never sorted. If ``CaseInsensitive``, includes are sorted in an ASCIIbetical or case
Index: clang/include/clang/Format/Format.h =================================================================== --- clang/include/clang/Format/Format.h +++ clang/include/clang/Format/Format.h @@ -2980,7 +2980,7 @@ /// /* second veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongComment with plenty of /// * information */ /// \endcode - /// \version 4 + /// \version 3.8 bool ReflowComments; // clang-format on @@ -3236,7 +3236,7 @@ /// insensitive fashion. /// If ``CaseSensitive``, includes are sorted in an alphabetical or case /// sensitive fashion. - /// \version 4 + /// \version 3.8 SortIncludesOptions SortIncludes; /// Position for Java Static imports. Index: clang/docs/ClangFormatStyleOptions.rst =================================================================== --- clang/docs/ClangFormatStyleOptions.rst +++ clang/docs/ClangFormatStyleOptions.rst @@ -3670,7 +3670,7 @@ -**ReflowComments** (``Boolean``) :versionbadge:`clang-format 4` +**ReflowComments** (``Boolean``) :versionbadge:`clang-format 3.8` If ``true``, clang-format will attempt to re-flow comments. .. code-block:: c++ @@ -3910,7 +3910,7 @@ int bar; int bar; } // namespace b } // namespace b -**SortIncludes** (``SortIncludesOptions``) :versionbadge:`clang-format 4` +**SortIncludes** (``SortIncludesOptions``) :versionbadge:`clang-format 3.8` Controls if and how clang-format will sort ``#includes``. If ``Never``, includes are never sorted. If ``CaseInsensitive``, includes are sorted in an ASCIIbetical or case
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits