From 998c391800f783acc2c5ece36fb964d89a6379f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 28 Oct 2025 19:54:54 +0100 Subject: [PATCH] Fixup #13876 (Improve cstyleCast documentation, write a motivation section) [ci skip] --- man/checkers/cstyleCast.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man/checkers/cstyleCast.md b/man/checkers/cstyleCast.md index 8bf8d0724d9..52da49adad2 100644 --- a/man/checkers/cstyleCast.md +++ b/man/checkers/cstyleCast.md @@ -23,6 +23,10 @@ This checker is about C casts that converts to/from a pointer or reference. Dangerous conversions are covered by other warnings so this ID `cstyleCast` is primarily about writing warnings for casts that are currently safe. +# Motivation + +The motivation of this checker is to modernize c++ code. + ## How to fix You can use C++ casts such as `static_cast` to fix these warnings.