diff options
Diffstat (limited to 'clang-tools-extra')
-rw-r--r-- | clang-tools-extra/docs/ReleaseNotes.rst | 10 | ||||
-rw-r--r-- | clang-tools-extra/docs/clang-tidy/checks/misc-string-constructor.rst | 1 |
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: |