Skip to content

Commit 3364d76

Browse files
committed
[clang-format][doc] Don't use the ".0" suffix on version numbers
Fixes #64818.
1 parent cd09089 commit 3364d76

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/docs/ClangFormatStyleOptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3832,7 +3832,7 @@ the configuration (without a prefix: ``Auto``).
38323832

38333833
.. _Macros:
38343834

3835-
**Macros** (``List of Strings``) :versionbadge:`clang-format 17.0` :ref:`<Macros>`
3835+
**Macros** (``List of Strings``) :versionbadge:`clang-format 17` :ref:`<Macros>`
38363836
A list of macros of the form ``<definition>=<expansion>`` .
38373837

38383838
Code will be parsed with macros expanded, in order to determine how to

clang/include/clang/Format/Format.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2963,7 +2963,7 @@ struct FormatStyle {
29632963
/// A(a, b); // will not be expanded.
29642964
/// \endcode
29652965
///
2966-
/// \version 17.0
2966+
/// \version 17
29672967
std::vector<std::string> Macros;
29682968

29692969
/// The maximum number of consecutive empty lines to keep.

0 commit comments

Comments
 (0)