[clang-tools-extra] [clang-tidy] bugprone-assert-side-effect non-const operator methods (PR #71974)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 15 13:06:11 PST 2023


================
@@ -208,6 +208,11 @@ New check aliases
 Changes in existing checks
 ^^^^^^^^^^^^^^^^^^^^^^^^^^
 
+- Improved :doc:`bugprone-assert-side-effect
+  <clang-tidy/checks/bugprone/assert-side-effect>` check to report usage of
+  non-const `<<` and `>>` operators in assertions and fixed some false-positives
----------------
PiotrZSL wrote:

```suggestion
  non-const ``<<`` and ``>>`` operators in assertions and fixed some false-positives
```

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


More information about the cfe-commits mailing list