diff --git a/docs/ClangFormatStyleOptions.rst b/docs/ClangFormatStyleOptions.rst index c60f299206e157f21fef4f26ed79f73d01b36c42..f713e3a6d2c51684c1d551c8e6455fb535a6baec 100644 --- a/docs/ClangFormatStyleOptions.rst +++ b/docs/ClangFormatStyleOptions.rst @@ -671,7 +671,7 @@ the configuration (without a prefix: ``Auto``). The number of spaces before trailing line comments (``//`` - comments). - This does not affect trailing block comments (``/**/`` - comments) as + This does not affect trailing block comments (``/*`` - comments) as those commonly have different usage patterns and a number of special cases. diff --git a/include/clang/Format/Format.h b/include/clang/Format/Format.h index efa3e5c740f65e4952d0e7a6c75bb1d6244ae328..b32fc3adbd0bd93311e0b4072e12450ca1b0d905 100644 --- a/include/clang/Format/Format.h +++ b/include/clang/Format/Format.h @@ -541,7 +541,7 @@ struct FormatStyle { /// \brief The number of spaces before trailing line comments /// (``//`` - comments). /// - /// This does not affect trailing block comments (``/**/`` - comments) as + /// This does not affect trailing block comments (``/*`` - comments) as /// those commonly have different usage patterns and a number of special /// cases. unsigned SpacesBeforeTrailingComments;