kuzkry created this revision. kuzkry added a reviewer: MyDeveloperDay. kuzkry added a project: clang-format. Herald added a project: All. kuzkry requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
Introduced by 23a5090c6 <https://reviews.llvm.org/rG23a5090c6ac7a207f49a11bf868a7c3fae2aeea2>, some style option markers indicated 'clang-format 4', though their respective options were available in earlier releases. Repository: rG LLVM Github Monorepo 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