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)
llvm-svn: 261646

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

index 1ac2391..c60f299 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 2256494..efa3e5c 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.