[PATCH] clang-format docs: Rst asterisk has to be escaped

Adam Strzelecki ono at java.pl
Thu May 15 03:36:50 PDT 2014


This fixes Sphinx build error:
  Warning, treated as error:
  WARNING: Inline emphasis start-string without end-string.
---
 docs/ClangFormatStyleOptions.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/ClangFormatStyleOptions.rst b/docs/ClangFormatStyleOptions.rst
index b2157dd..edce8ca 100644
--- a/docs/ClangFormatStyleOptions.rst
+++ b/docs/ClangFormatStyleOptions.rst
@@ -343,7 +343,7 @@ the configuration (without a prefix: ``Auto``).
 **SpacesBeforeTrailingComments** (``unsigned``)
   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``)
-- 
1.8.5.2 (Apple Git-48)




More information about the cfe-commits mailing list