[clang-tools-extra] [clang-tidy] Add new check bugprone-unintended-char-ostream-output (PR #127720)

via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 19 07:09:37 PST 2025


================
@@ -91,6 +91,12 @@ Improvements to clang-tidy
 New checks
 ^^^^^^^^^^
 
+- New :doc:`bugprone-unintended-char-ostream-output
+  <clang-tidy/checks/bugprone/unintended-char-ostream-output>` check.
+
+  Finds unintended character output from ``unsigned char`` and ``signed char`` to an
+  ostream.
----------------
EugeneZelenko wrote:

```suggestion
  ``ostream``.
```

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


More information about the cfe-commits mailing list