summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/docs/ReleaseNotes.rst1
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/readability-deleted-default.rst1
2 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst
index bbf893c5cb6..c61121988cb 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -286,6 +286,7 @@ The 3.8 release didn't include release notes for :program:`clang-tidy`. In the
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.
diff --git a/clang-tools-extra/docs/clang-tidy/checks/readability-deleted-default.rst b/clang-tools-extra/docs/clang-tidy/checks/readability-deleted-default.rst
index 3012911d279..2fb87cb261f 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/readability-deleted-default.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/readability-deleted-default.rst
@@ -7,6 +7,7 @@ Checks that constructors and assignment operators marked as ``= default`` are
not actually deleted by the compiler.
.. code:: c++
+
class Example {
public:
// This constructor is deleted because I is missing a default value.
OpenPOWER on IntegriCloud