forked from OSchip/llvm-project
[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:
parent
b375882014
commit
712b59cdc5
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue