r208882 - clang-format: Fix Sphinx build error.
Daniel Jasper
djasper at google.com
Thu May 15 06:55:19 PDT 2014
Author: djasper
Date: Thu May 15 08:55:19 2014
New Revision: 208882
URL: http://llvm.org/viewvc/llvm-project?rev=208882&view=rev
Log:
clang-format: Fix Sphinx build error.
Patch by Adam Strzelecki, thank you!
Modified:
cfe/trunk/docs/ClangFormatStyleOptions.rst
cfe/trunk/include/clang/Format/Format.h
Modified: cfe/trunk/docs/ClangFormatStyleOptions.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ClangFormatStyleOptions.rst?rev=208882&r1=208881&r2=208882&view=diff
==============================================================================
--- cfe/trunk/docs/ClangFormatStyleOptions.rst (original)
+++ cfe/trunk/docs/ClangFormatStyleOptions.rst Thu May 15 08:55:19 2014
@@ -341,9 +341,10 @@ the configuration (without a prefix: ``A
If ``true``, spaces may be inserted into '()'.
**SpacesBeforeTrailingComments** (``unsigned``)
- The number of spaces before trailing line comments (//-comments).
+ The number of spaces before trailing line comments
+ (``//`` - comments).
- This does not affect trailing block comments (/**/-comments) as those
+ This does not affect trailing block comments (``/**/`` - comments) as those
commonly have different usage patterns and a number of special cases.
**SpacesInAngles** (``bool``)
Modified: cfe/trunk/include/clang/Format/Format.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Format/Format.h?rev=208882&r1=208881&r2=208882&view=diff
==============================================================================
--- cfe/trunk/include/clang/Format/Format.h (original)
+++ cfe/trunk/include/clang/Format/Format.h Thu May 15 08:55:19 2014
@@ -120,9 +120,10 @@ struct FormatStyle {
/// \brief The indentation used for namespaces.
NamespaceIndentationKind NamespaceIndentation;
- /// \brief The number of spaces before trailing line comments (//-comments).
+ /// \brief The number of spaces before trailing line comments
+ /// (\c // - comments).
///
- /// This does not affect trailing block comments (/**/-comments) as those
+ /// This does not affect trailing block comments (\c /**/ - comments) as those
/// commonly have different usage patterns and a number of special cases.
unsigned SpacesBeforeTrailingComments;
More information about the cfe-commits
mailing list