etienneb updated this revision to Diff 53741. etienneb added a comment. right fix.
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,6 +286,7 @@ 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.
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,6 +286,7 @@ 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.
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits