Skip to content

Commit 34f0611

Browse files
committed
[clang-format][doc] Minor cleanup
1 parent dc3cd2e commit 34f0611

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

clang/docs/ClangFormatStyleOptions.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4661,12 +4661,13 @@ the configuration (without a prefix: ``Auto``).
46614661
.. _KeepEmptyLinesAtEOF:
46624662

46634663
**KeepEmptyLinesAtEOF** (``Boolean``) :versionbadge:`clang-format 17` :ref:`<KeepEmptyLinesAtEOF>`
4664-
This option is deprecated. See ``AtEndOfFile`` of ``KeepEmptyLines``.
4664+
This option is **deprecated**. See ``AtEndOfFile`` of ``KeepEmptyLines``.
46654665

46664666
.. _KeepEmptyLinesAtTheStartOfBlocks:
46674667

46684668
**KeepEmptyLinesAtTheStartOfBlocks** (``Boolean``) :versionbadge:`clang-format 3.7` :ref:`<KeepEmptyLinesAtTheStartOfBlocks>`
4669-
This option is deprecated. See ``AtStartOfBlock`` of ``KeepEmptyLines``.
4669+
This option is **deprecated**. See ``AtStartOfBlock`` of
4670+
``KeepEmptyLines``.
46704671

46714672
.. _KeepFormFeed:
46724673

@@ -6730,8 +6731,8 @@ the configuration (without a prefix: ``Auto``).
67306731
.. _TemplateNames:
67316732

67326733
**TemplateNames** (``List of Strings``) :versionbadge:`clang-format 20` :ref:`<TemplateNames>`
6733-
A vector of non-keyword identifiers that should be interpreted as
6734-
template names.
6734+
A vector of non-keyword identifiers that should be interpreted as template
6735+
names.
67356736

67366737
A ``<`` after a template name is annotated as a template opener instead of
67376738
a binary operator.

clang/include/clang/Format/Format.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3203,11 +3203,12 @@ struct FormatStyle {
32033203
/// \version 19
32043204
KeepEmptyLinesStyle KeepEmptyLines;
32053205

3206-
/// This option is deprecated. See ``AtEndOfFile`` of ``KeepEmptyLines``.
3206+
/// This option is **deprecated**. See ``AtEndOfFile`` of ``KeepEmptyLines``.
32073207
/// \version 17
32083208
// bool KeepEmptyLinesAtEOF;
32093209

3210-
/// This option is deprecated. See ``AtStartOfBlock`` of ``KeepEmptyLines``.
3210+
/// This option is **deprecated**. See ``AtStartOfBlock`` of
3211+
/// ``KeepEmptyLines``.
32113212
/// \version 3.7
32123213
// bool KeepEmptyLinesAtTheStartOfBlocks;
32133214

@@ -5042,8 +5043,8 @@ struct FormatStyle {
50425043
/// \version 3.7
50435044
unsigned TabWidth;
50445045

5045-
/// A vector of non-keyword identifiers that should be interpreted as
5046-
/// template names.
5046+
/// A vector of non-keyword identifiers that should be interpreted as template
5047+
/// names.
50475048
///
50485049
/// A ``<`` after a template name is annotated as a template opener instead of
50495050
/// a binary operator.

0 commit comments

Comments
 (0)