[clang-tools-extra] r269517 - [Release notes] Mention Clang-tidy modernize-avoid-bind check.
Eugene Zelenko via cfe-commits
cfe-commits at lists.llvm.org
Fri May 13 16:35:56 PDT 2016
Author: eugenezelenko
Date: Fri May 13 18:35:56 2016
New Revision: 269517
URL: http://llvm.org/viewvc/llvm-project?rev=269517&view=rev
Log:
[Release notes] Mention Clang-tidy modernize-avoid-bind check.
Fix some problems in its documentation.
Modified:
clang-tools-extra/trunk/docs/ReleaseNotes.rst
clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-avoid-bind.rst
Modified: clang-tools-extra/trunk/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/ReleaseNotes.rst?rev=269517&r1=269516&r2=269517&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/ReleaseNotes.rst (original)
+++ clang-tools-extra/trunk/docs/ReleaseNotes.rst Fri May 13 18:35:56 2016
@@ -180,6 +180,11 @@ identified. The improvements since the
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
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-avoid-bind.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-avoid-bind.rst?rev=269517&r1=269516&r2=269517&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-avoid-bind.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-avoid-bind.rst Fri May 13 18:35:56 2016
@@ -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.
More information about the cfe-commits
mailing list