[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
Thu Oct 16 03:11:41 PDT 2025


Discookie wrote:

No particular reason for choosing the prefix `>`. I thought about enclosing it in `"` quotes, with escape sequences like `\"`, but that would require implementing a parser in clang-tidy, and that seemed to be unnecessarily big in scope. A single-character prefix seemed better than that.

I'll rephrase the docs a bit to make it clearer.

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


More information about the cfe-commits mailing list