From: Reid Kleckner Date: Fri, 18 Apr 2014 21:55:49 +0000 (+0000) Subject: Fix sphinx-build warnings in clang docs. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c069a8d13cacf40bf3121f852f3647e82271ac9;p=clang Fix sphinx-build warnings in clang docs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206661 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/ClangFormatStyleOptions.rst b/docs/ClangFormatStyleOptions.rst index 132e7f91ec..27d5e7426a 100644 --- a/docs/ClangFormatStyleOptions.rst +++ b/docs/ClangFormatStyleOptions.rst @@ -338,7 +338,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``) diff --git a/docs/Modules.rst b/docs/Modules.rst index 183a8f208f..59daebcc93 100644 --- a/docs/Modules.rst +++ b/docs/Modules.rst @@ -761,7 +761,7 @@ express this with a single module map file in the library: because the header ``Foo_Private.h`` won't always be available. The module map file could be customized based on whether -``Foo_Private.h``is available or not, but doing so requires custom +``Foo_Private.h`` is available or not, but doing so requires custom build machinery. Private module map files, which are named ``module.private.modulemap`` @@ -770,7 +770,7 @@ augment the primary module map file with an additional submodule. For example, we would split the module map file above into two module map files: -.. parsed-literal:: +.. code-block:: c /* module.modulemap */ module Foo {