diff options
-rw-r--r-- | clang-tools-extra/docs/ReleaseNotes.rst | 14 | ||||
-rw-r--r-- | clang-tools-extra/docs/clang-tidy/checks/misc-unconventional-assign-operator.rst | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst index 26f2e4fe1e3..827601d78ef 100644 --- a/clang-tools-extra/docs/ReleaseNotes.rst +++ b/clang-tools-extra/docs/ReleaseNotes.rst @@ -182,6 +182,13 @@ identified. The improvements since the 3.8 release include: Find suspicious usage of runtime string comparison functions. +- New `misc-unconventional-assign-operator + <http://clang.llvm.org/extra/clang-tidy/checks/misc-unconventional-assign-operator.html>`_ + check replacing the *misc-assign-operator-signature* check. + + Does not only checks for correct signature but also for correct ``return`` + statements (returning ``*this``) + - New `misc-unused-using-decls <http://clang.llvm.org/extra/clang-tidy/checks/misc-unused-using-decls.html>`_ check @@ -258,13 +265,6 @@ identified. The improvements since the 3.8 release include: Finds static function and variable definitions in anonymous namespace. -- New `misc-unconventional-assign-operator - <http://clang.llvm.org/extra/clang-tidy/checks/misc-unconventional-assign-operator.html>`_ - check replacing the *misc-assign-operator-signature* check. - - Does not only checks for correct signature but also for correct ``return`` - statements (returning ``*this``) - Fixed bugs: - Crash when running on compile database with relative source files paths. diff --git a/clang-tools-extra/docs/clang-tidy/checks/misc-unconventional-assign-operator.rst b/clang-tools-extra/docs/clang-tidy/checks/misc-unconventional-assign-operator.rst index ae566186fe6..8b85332fa0c 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/misc-unconventional-assign-operator.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/misc-unconventional-assign-operator.rst @@ -5,7 +5,7 @@ misc-unconventional-assign-operator Finds declarations of assign operators with the wrong return and/or argument -types and definitions with good return type but wrong return statements. +types and definitions with good return type but wrong ``return`` statements. * The return type must be ``Class&``. * Works with move-assign and assign by value. |