[clang-tools-extra] [clang-tidy][bugprone-unintended-char-ostream-output] add `WarnOnExplicitCast` option (PR #133639)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 30 11:41:41 PDT 2025


================
@@ -39,6 +39,17 @@ Or cast to char to explicitly indicate that output should be a character.
 
   std::cout << static_cast<char>(v);
 
+Options
----------------
vbvictor wrote:

Could you please rebase on fresh main, this must be added by https://github.com/llvm/llvm-project/commit/52639d69acbed0e49fd855c8c04cd9307405e2e6

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


More information about the cfe-commits mailing list