Skip to content

Commit f2d99b1

Browse files
committed
remove \version annotation from suboption as per @owenca
1 parent 00cbf31 commit f2d99b1

File tree

2 files changed

+7
-15
lines changed

2 files changed

+7
-15
lines changed

clang/docs/ClangFormatStyleOptions.rst

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,7 @@ the configuration (without a prefix: ``Auto``).
392392
a &= 2;
393393
bbb = 2;
394394

395-
* ``bool AlignFunctionDeclarations`` :versionbadge:`clang-format 20`
396-
Only for ``AlignConsecutiveDeclarations``. Whether function declarations
395+
* ``bool AlignFunctionDeclarations`` Only for ``AlignConsecutiveDeclarations``. Whether function declarations
397396
are aligned.
398397

399398
.. code-block:: c++
@@ -550,8 +549,7 @@ the configuration (without a prefix: ``Auto``).
550549
a &= 2;
551550
bbb = 2;
552551

553-
* ``bool AlignFunctionDeclarations`` :versionbadge:`clang-format 20`
554-
Only for ``AlignConsecutiveDeclarations``. Whether function declarations
552+
* ``bool AlignFunctionDeclarations`` Only for ``AlignConsecutiveDeclarations``. Whether function declarations
555553
are aligned.
556554

557555
.. code-block:: c++
@@ -708,8 +706,7 @@ the configuration (without a prefix: ``Auto``).
708706
a &= 2;
709707
bbb = 2;
710708

711-
* ``bool AlignFunctionDeclarations`` :versionbadge:`clang-format 20`
712-
Only for ``AlignConsecutiveDeclarations``. Whether function declarations
709+
* ``bool AlignFunctionDeclarations`` Only for ``AlignConsecutiveDeclarations``. Whether function declarations
713710
are aligned.
714711

715712
.. code-block:: c++
@@ -867,8 +864,7 @@ the configuration (without a prefix: ``Auto``).
867864
a &= 2;
868865
bbb = 2;
869866

870-
* ``bool AlignFunctionDeclarations`` :versionbadge:`clang-format 20`
871-
Only for ``AlignConsecutiveDeclarations``. Whether function declarations
867+
* ``bool AlignFunctionDeclarations`` Only for ``AlignConsecutiveDeclarations``. Whether function declarations
872868
are aligned.
873869

874870
.. code-block:: c++
@@ -1145,8 +1141,7 @@ the configuration (without a prefix: ``Auto``).
11451141
a &= 2;
11461142
bbb = 2;
11471143

1148-
* ``bool AlignFunctionDeclarations`` :versionbadge:`clang-format 20`
1149-
Only for ``AlignConsecutiveDeclarations``. Whether function declarations
1144+
* ``bool AlignFunctionDeclarations`` Only for ``AlignConsecutiveDeclarations``. Whether function declarations
11501145
are aligned.
11511146

11521147
.. code-block:: c++
@@ -1301,8 +1296,7 @@ the configuration (without a prefix: ``Auto``).
13011296
a &= 2;
13021297
bbb = 2;
13031298

1304-
* ``bool AlignFunctionDeclarations`` :versionbadge:`clang-format 20`
1305-
Only for ``AlignConsecutiveDeclarations``. Whether function declarations
1299+
* ``bool AlignFunctionDeclarations`` Only for ``AlignConsecutiveDeclarations``. Whether function declarations
13061300
are aligned.
13071301

13081302
.. code-block:: c++
@@ -1457,8 +1451,7 @@ the configuration (without a prefix: ``Auto``).
14571451
a &= 2;
14581452
bbb = 2;
14591453

1460-
* ``bool AlignFunctionDeclarations`` :versionbadge:`clang-format 20`
1461-
Only for ``AlignConsecutiveDeclarations``. Whether function declarations
1454+
* ``bool AlignFunctionDeclarations`` Only for ``AlignConsecutiveDeclarations``. Whether function declarations
14621455
are aligned.
14631456

14641457
.. code-block:: c++

clang/include/clang/Format/Format.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ struct FormatStyle {
238238
/// void f2(void);
239239
/// size_t f3(void);
240240
/// \endcode
241-
/// \version 20
242241
bool AlignFunctionDeclarations;
243242
/// Only for ``AlignConsecutiveDeclarations``. Whether function pointers are
244243
/// aligned.

0 commit comments

Comments
 (0)