Warning, /sdk/clazy/docs/checks/README-implicit-casts.md is written in an unsupported language. File is not indexed.

0001 # implicit-casts
0002 
0003 Finds places with unwanted implicit casts in function calls.
0004 
0005 #### Supported cases
0006 
0007 * pointer->bool cast in functions accepting bool and pointers, example:
0008 
0009         MyWidget(bool b, QObject *parent = nullptr) {}
0010         MyWidget(parent);
0011 
0012 * bool->int
0013 
0014         void func(int duration);
0015         func(someBool);
0016 
0017 This last case is disabled due to false positives when calling C code.
0018 You can enable it by with:
0019 `export CLAZY_EXTRA_OPTIONS=implicit-casts-bool-to-int`