cppcheck/test/cfg
Rikard Falkeborn 60a213e6a5 Fix #9047 (c-style casts before malloc) (#1930)
* Fix #9047 (c-style casts before malloc)

Note that there are still no warnings for c++-style casts

* Fix memleak check with casts of assignments in if-statements

* Fix possible null pointer dereference

As pointed out by cppcheck.

* Add check of astOperand2 when removing casts

This is similar to how it is done in other checks.
2019-07-03 08:39:44 +02:00
..
boost.cpp boost.cfg: Add argument directions; some fixes; rearrange and document. 2019-03-15 11:13:08 +01:00
bsd.c Travis: Try to fix 'make checkcfg' 2019-03-02 19:38:11 +01:00
generate-cfg-tests.sh add script to generate cfg tests 2018-03-18 13:03:19 +01:00
gnu.c Fix #9047 (c-style casts before malloc) (#1930) 2019-07-03 08:39:44 +02:00
gtk.c Fix #9047 (c-style casts before malloc) (#1930) 2019-07-03 08:39:44 +02:00
posix.c posix.cfg: Added partial support for scandir() and a TODO comment. 2019-05-25 23:32:28 +02:00
qt.cpp qt.cfg: Add Q_DECLARE_TR_FUNCTIONS() and others (#1677) 2019-02-26 13:39:37 +01:00
runtests.sh gnu.cfg: Added tests for mkostemp(), mkstemps() and mkostemps() functions. The test script 'test/cfg/runtests.sh' is now loading posix.cfg when checking gnu.cfg. Otherwise 'close()' was not available to Cppcheck, which lead to an error when 'make checkcfg' was executed. 2019-05-16 17:49:33 +02:00
sqlite3.c Library: Add initial configuration with tests for SQLite3 library. (#1737) 2019-03-13 13:57:40 +01:00
std.c Fix #9047 (c-style casts before malloc) (#1930) 2019-07-03 08:39:44 +02:00
std.cpp Library configuration: function argument direction fixes and enhancements (#1722) 2019-03-04 22:57:40 +01:00
unmatchedSuppressionTest.c unmatched suppression: fix test case 2019-01-22 18:47:52 +01:00
windows.cpp Fix #9047 (c-style casts before malloc) (#1930) 2019-07-03 08:39:44 +02:00
wxwidgets.cpp Refactoring of Null Pointer Checker 2019-03-16 21:21:30 +01:00