Skip to content

Commit 3b477ce

Browse files
authored
Fixup #13876 (Improve cstyleCast documentation, write a motivation section) [ci skip] (danmar#7923)
1 parent 5f301d3 commit 3b477ce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

man/checkers/cstyleCast.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ This checker is about C casts that converts to/from a pointer or reference.
2323
Dangerous conversions are covered by other warnings so this ID `cstyleCast` is primarily about
2424
writing warnings for casts that are currently safe.
2525

26+
# Motivation
27+
28+
The motivation of this checker is to modernize c++ code.
29+
2630
## How to fix
2731

2832
You can use C++ casts such as `static_cast` to fix these warnings.

0 commit comments

Comments
 (0)