diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst index 6f02a436b0ac8..651fa4436dfe7 100644 --- a/clang/docs/ClangFormatStyleOptions.rst +++ b/clang/docs/ClangFormatStyleOptions.rst @@ -3832,7 +3832,7 @@ the configuration (without a prefix: ``Auto``). .. _Macros: -**Macros** (``List of Strings``) :versionbadge:`clang-format 17.0` :ref:`¶ ` +**Macros** (``List of Strings``) :versionbadge:`clang-format 17` :ref:`¶ ` A list of macros of the form ``=`` . Code will be parsed with macros expanded, in order to determine how to diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h index 8bcf6e6f58f16..192cc68e51fad 100644 --- a/clang/include/clang/Format/Format.h +++ b/clang/include/clang/Format/Format.h @@ -2963,7 +2963,7 @@ struct FormatStyle { /// A(a, b); // will not be expanded. /// \endcode /// - /// \version 17.0 + /// \version 17 std::vector Macros; /// The maximum number of consecutive empty lines to keep.