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

Daniel Jasper djasper at google.com
Thu May 15 04:12:52 PDT 2014


Generally, thank you, however ClangFormatStyleOptions.rst is generated by
cfe/docs/tools/dump_format_style.py.

Can you make the required changes there (or in the comment of
cfe/include/clang/Format/Format.h)? If not, I'll take a look later today.


On Thu, May 15, 2014 at 12:36 PM, Adam Strzelecki <ono at java.pl> wrote:

> 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)
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140515/75e42b22/attachment.html>


More information about the cfe-commits mailing list