]> granicus.if.org Git - clang/commitdiff
Fix a typo. NFC
authorAlexander Kornienko <alexfh@google.com>
Tue, 23 Feb 2016 16:12:08 +0000 (16:12 +0000)
committerAlexander Kornienko <alexfh@google.com>
Tue, 23 Feb 2016 16:12:08 +0000 (16:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261646 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ClangFormatStyleOptions.rst
include/clang/Format/Format.h

index 1ac239115998288f3cdc25557eea118ca3c9c535..c60f299206e157f21fef4f26ed79f73d01b36c42 100644 (file)
@@ -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.
index 22564948e10f5fe2120ba5e1e59b10beb9272803..efa3e5c740f65e4952d0e7a6c75bb1d6244ae328 100644 (file)
@@ -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.