From: Alexander Kornienko Date: Tue, 23 Feb 2016 16:12:08 +0000 (+0000) Subject: Fix a typo. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9086b02e6fe500d6f52b877d3a43e654fd11d59;p=clang Fix a typo. NFC git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261646 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/ClangFormatStyleOptions.rst b/docs/ClangFormatStyleOptions.rst index 1ac2391159..c60f299206 100644 --- a/docs/ClangFormatStyleOptions.rst +++ b/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/include/clang/Format/Format.h b/include/clang/Format/Format.h index 22564948e1..efa3e5c740 100644 --- a/include/clang/Format/Format.h +++ b/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.