[clang-tools-extra] [clang-tidy]avoid bugprone-unused-return-value false positive for assignment operator overloading (PR #84489)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 8 16:37:13 PST 2024


================
@@ -5,6 +5,8 @@ bugprone-unused-return-value
 
 Warns on unused function return values. The checked functions can be configured.
 
+Operator overloading with assignment semantics are ignored。
----------------
5chmidti wrote:

The dot at the end of this line is some character that is not the normal dot.

https://github.com/llvm/llvm-project/pull/84489


More information about the cfe-commits mailing list