summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/docs/ReleaseNotes.rst5
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/modernize-avoid-bind.rst4
2 files changed, 7 insertions, 2 deletions
diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst
index 4233874b42d..92fa22350a7 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -180,6 +180,11 @@ identified. The improvements since the 3.8 release include:
Finds unused ``using`` declarations.
+- New `modernize-avoid-bind
+ <http://clang.llvm.org/extra/clang-tidy/checks/modernize-avoid-bind.html>`_ check
+
+ Finds uses of ``std::bind`` and replaces simple uses with lambdas.
+
- New `modernize-deprecated-headers
<http://clang.llvm.org/extra/clang-tidy/checks/modernize-deprecated-headers.html>`_ check
diff --git a/clang-tools-extra/docs/clang-tidy/checks/modernize-avoid-bind.rst b/clang-tools-extra/docs/clang-tidy/checks/modernize-avoid-bind.rst
index ac2a2b2563f..e56fa89bd31 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/modernize-avoid-bind.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/modernize-avoid-bind.rst
@@ -1,7 +1,7 @@
-.. title:: clang-tidy - modernize-avoid-std-bind
+.. title:: clang-tidy - modernize-avoid-bind
modernize-avoid-bind
-==========================
+====================
The check finds uses of ``std::bind`` and replaces simple uses with lambdas.
Lambdas will use value-capture where required.
OpenPOWER on IntegriCloud