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
 --------------------------


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
 --------------------------
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to