[PATCH] D120618: [clang-format][docs] Fix a bad comment
Krystian Kuzniarek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 26 08:31:42 PST 2022
kuzkry created this revision.
kuzkry added a reviewer: HazardyKnusperkeks.
kuzkry added a project: clang-format.
kuzkry requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Follow up to 8f310d1967c20d348c617af3a30999031c71fee0 <https://reviews.llvm.org/rG8f310d1967c20d348c617af3a30999031c71fee0>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D120618
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
@@ -2524,7 +2524,7 @@
/// Indent the requires clause in a template. This only applies when
/// ``RequiresClausePosition`` is ``OwnLine``, or ``WithFollowing``.
///
- /// In clang-format 13 and 14 it was named ``IndentRequires``.
+ /// In clang-format 12, 13 and 14 it was named ``IndentRequires``.
/// \code
/// true:
/// template <typename It>
Index: clang/docs/ClangFormatStyleOptions.rst
===================================================================
--- clang/docs/ClangFormatStyleOptions.rst
+++ clang/docs/ClangFormatStyleOptions.rst
@@ -2710,7 +2710,7 @@
Indent the requires clause in a template. This only applies when
``RequiresClausePosition`` is ``OwnLine``, or ``WithFollowing``.
- In clang-format 13 and 14 it was named ``IndentRequires``.
+ In clang-format 12, 13 and 14 it was named ``IndentRequires``.
.. code-block:: c++
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120618.411617.patch
Type: text/x-patch
Size: 1077 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220226/44d9b455/attachment.bin>
More information about the cfe-commits
mailing list