[PATCH] D19121: [clang-tidy] Fix documentation generation.

Etienne Bergeron via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 14 09:04:02 PDT 2016


etienneb created this revision.
etienneb added a reviewer: alexfh.
etienneb added a subscriber: cfe-commits.

The patch is fixing the generation of clang-tidy documentation.

http://reviews.llvm.org/D19121

Files:
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/readability-deleted-default.rst

Index: docs/clang-tidy/checks/readability-deleted-default.rst
===================================================================
--- docs/clang-tidy/checks/readability-deleted-default.rst
+++ docs/clang-tidy/checks/readability-deleted-default.rst
@@ -7,6 +7,7 @@
 not actually deleted by the compiler.
 
 .. code:: c++
+
   class Example {
   public:
     // This constructor is deleted because I is missing a default value.
Index: docs/ReleaseNotes.rst
===================================================================
--- docs/ReleaseNotes.rst
+++ docs/ReleaseNotes.rst
@@ -286,12 +286,8 @@
   direct base class of this kind.
 
   The check has two complementary aspects:
-  1. Ensure every constructor for a record type needing initialization
-     value-initializes all members and direct bases via a combination of
-     in-class initializers and the member initializer list.
-  2. Value-initialize every non-member instance of a record type needing
-     initialization that lacks a user-provided default constructor, e.g.
-     a POD.
+  1. Ensure every constructor for a record type needing initialization value-initializes all members and direct bases via a combination of in-class initializers and the member initializer list.
+  2. Value-initialize every non-member instance of a record type needing initialization that lacks a user-provided default constructor, e.g. a POD.
 
 Improvements to modularize
 --------------------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19121.53738.patch
Type: text/x-patch
Size: 1447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160414/bfdab6c2/attachment.bin>


More information about the cfe-commits mailing list