summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2016-04-21 18:13:09 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2016-04-21 18:13:09 +0000
commit656eb13fe0bd0cfd997bc45ee751e46c7129073e (patch)
treee233f65423ff9e7049fb61fbc5def13e1b149343
parent0e5ff58567be2a08f690c0b6878dbf8a02b50d9c (diff)
downloadbcm5719-llvm-656eb13fe0bd0cfd997bc45ee751e46c7129073e.tar.gz
bcm5719-llvm-656eb13fe0bd0cfd997bc45ee751e46c7129073e.zip
[Release Notes] Mention Clang-tidy misc-string-constructor and misc-suspicious-string-compare checks.
Fix excessive line in misc-string-constructor documentation. llvm-svn: 267026
-rw-r--r--clang-tools-extra/docs/ReleaseNotes.rst10
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/misc-string-constructor.rst1
2 files changed, 10 insertions, 1 deletions
diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst
index fa3b8da7615..5e6c8577683 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -118,6 +118,11 @@ identified. The improvements since the 3.8 release include:
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 3.8 release include:
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
diff --git a/clang-tools-extra/docs/clang-tidy/checks/misc-string-constructor.rst b/clang-tools-extra/docs/clang-tidy/checks/misc-string-constructor.rst
index b6d1a8e6090..694b742c7c7 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/misc-string-constructor.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/misc-string-constructor.rst
@@ -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:
OpenPOWER on IntegriCloud