diff options
-rw-r--r-- | clang/docs/ClangFormatStyleOptions.rst | 2 | ||||
-rw-r--r-- | clang/include/clang/Format/Format.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst index c60f299206e..f713e3a6d2c 100644 --- a/clang/docs/ClangFormatStyleOptions.rst +++ b/clang/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/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h index efa3e5c740f..b32fc3adbd0 100644 --- a/clang/include/clang/Format/Format.h +++ b/clang/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; |