[clang-format][docs] Fix incorrect 'clang-format 9' option marker

Introduced by 23a5090c6, this style option marker indicated
'clang-format 9', though its respective option was available in
an earlier release.

Differential Revision: https://reviews.llvm.org/D123299
This commit is contained in:
Krystian Kuzniarek 2022-04-07 13:11:02 +02:00
parent b375882014
commit 712b59cdc5
2 changed files with 2 additions and 2 deletions

View File

@ -1019,7 +1019,7 @@ the configuration (without a prefix: ``Auto``).
**AllowShortIfStatementsOnASingleLine** (``ShortIfStyle``) :versionbadge:`clang-format 9`
**AllowShortIfStatementsOnASingleLine** (``ShortIfStyle``) :versionbadge:`clang-format 3.3`
Dependent on the value, ``if (a) return;`` can be put on a single line.
Possible values:

View File

@ -600,7 +600,7 @@ struct FormatStyle {
};
/// Dependent on the value, ``if (a) return;`` can be put on a single line.
/// \version 9
/// \version 3.3
ShortIfStyle AllowShortIfStatementsOnASingleLine;
/// Different styles for merging short lambdas containing at most one