[clang-tools-extra] [clang-tidy] Add a fully custom message to `bugprone-unsafe-functions` (PR #162443)

via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 8 08:25:00 PDT 2025


================
@@ -299,6 +299,11 @@ Changes in existing checks
   an additional matcher that generalizes the copy-and-swap idiom pattern
   detection.
 
+- Improved :doc:`bugprone-unsafe-functions
+  <clang-tidy/checks/bugprone/unsafe-functions>` check by omitting the custom 
+  replacement string, when the Reason starts with the character `>` in the
----------------
EugeneZelenko wrote:

```suggestion
  replacement string, when the reason starts with the character `>` in the
```

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


More information about the cfe-commits mailing list