From 656eb13fe0bd0cfd997bc45ee751e46c7129073e Mon Sep 17 00:00:00 2001 From: Eugene Zelenko Date: Thu, 21 Apr 2016 18:13:09 +0000 Subject: [PATCH] [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 --- clang-tools-extra/docs/ReleaseNotes.rst | 10 ++++++++++ .../docs/clang-tidy/checks/misc-string-constructor.rst | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst index fa3b8da..5e6c857 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 + `_ check + + Finds string constructors that are suspicious and probably errors. + - New `misc-string-literal-with-embedded-nul `_ 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 + `_ check + + Find suspicious usage of runtime string comparison functions. + - New `misc-unused-using-decls `_ 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 b6d1a8e..694b742 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: -- 2.7.4