llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang-tools-extra Author: Congcong Cai (HerrCai0907) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/121316.diff 1 Files Affected: - (modified) clang-tools-extra/docs/clang-tidy/checks/bugprone/unhandled-self-assignment.rst (+4-2) ``````````diff diff --git a/clang-tools-extra/docs/clang-tidy/checks/bugprone/unhandled-self-assignment.rst b/clang-tools-extra/docs/clang-tidy/checks/bugprone/unhandled-self-assignment.rst index dee139861c8cfe..d3cdd5a12fdca3 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/bugprone/unhandled-self-assignment.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/bugprone/unhandled-self-assignment.rst @@ -120,5 +120,7 @@ temporary object into ``this`` (needs a move assignment operator): .. option:: WarnOnlyIfThisHasSuspiciousField - When `true`, the check will warn only if the container class of the copy assignment operator - has any suspicious fields (pointer or C array). This option is set to `true` by default. + When `true`, the check will warn only if the container class of the copy + assignment operator has any suspicious fields (pointer, C array and C++ smart + pointer). + This option is set to `true` by default. `````````` </details> https://github.com/llvm/llvm-project/pull/121316 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits