Author: eugenezelenko
Date: Thu Apr 21 13:13:09 2016
New Revision: 267026
URL: http://llvm.org/viewvc/llvm-project?rev=267026&view=rev
Log:
[Release Notes] Mention Clang-tidy misc-string-constructor and
misc-suspicious-string-compare checks.
Fix excessive line in misc-string-constructor documentation.
Modified:
clang-tools-extra/trunk/docs/ReleaseNotes.rst
clang-tools-extra/trunk/docs/clang-tidy/checks/misc-string-constructor.rst
Modified: clang-tools-extra/trunk/docs/ReleaseNotes.rst
URL:
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/ReleaseNotes.rst?rev=267026&r1=267025&r2=267026&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/ReleaseNotes.rst (original)
+++ clang-tools-extra/trunk/docs/ReleaseNotes.rst Thu Apr 21 13:13:09 2016
@@ -118,6 +118,11 @@ identified. The improvements since the
Warns about incorrect uses of ``sizeof`` operator.
+- New `misc-string-constructor
+
<http://clang.llvm.org/extra/clang-tidy/checks/misc-string-constructor.html>`_
check
+
+ Finds string constructors that are suspicious and probably errors.
+
- New `misc-string-literal-with-embedded-nul
<http://clang.llvm.org/extra/clang-tidy/checks/misc-string-literal-with-embedded-nul.html>`_
check
@@ -135,6 +140,11 @@ identified. The improvements since the
Finds most instances of stray semicolons that unexpectedly alter the meaning
of the code.
+- New `misc-suspicious-string-compare
+
<http://clang.llvm.org/extra/clang-tidy/checks/misc-suspicious-string-compare.html>`_
check
+
+ Find suspicious usage of runtime string comparison functions.
+
- New `misc-unused-using-decls
<http://clang.llvm.org/extra/clang-tidy/checks/misc-unused-using-decls.html>`_
check
Modified:
clang-tools-extra/trunk/docs/clang-tidy/checks/misc-string-constructor.rst
URL:
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/misc-string-constructor.rst?rev=267026&r1=267025&r2=267026&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/misc-string-constructor.rst
(original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/misc-string-constructor.rst
Thu Apr 21 13:13:09 2016
@@ -5,7 +5,6 @@ misc-string-constructor
Finds string constructors that are suspicious and probably errors.
-
A common mistake is to swap parameters to the 'fill' string-constructor.
Examples:
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits