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 1ac23911599..c60f299206e 100644 --- a/clang/docs/ClangFormatStyleOptions.rst +++ b/clang/docs/ClangFormatStyleOptions.rst @@ -148,7 +148,7 @@ the configuration (without a prefix: ``Auto``). .. START_FORMAT_STYLE_OPTIONS **AccessModifierOffset** (``int``) - The extra indent or outdent of access modifiers, e.g. ``public``:. + The extra indent or outdent of access modifiers, e.g. ``public:``. **AlignAfterOpenBracket** (``BracketAlignmentStyle``) If ``true``, horizontally aligns arguments after an open bracket. diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h index 22564948e10..efa3e5c740f 100644 --- a/clang/include/clang/Format/Format.h +++ b/clang/include/clang/Format/Format.h @@ -40,7 +40,7 @@ std::error_code make_error_code(ParseError e); /// \brief The ``FormatStyle`` is used to configure the formatting to follow /// specific guidelines. struct FormatStyle { - /// \brief The extra indent or outdent of access modifiers, e.g. ``public``:. + /// \brief The extra indent or outdent of access modifiers, e.g. ``public:``. int AccessModifierOffset; /// \brief Different styles for aligning after open brackets. |

