Commit Graph

2654 Commits

Author SHA1 Message Date
Daniel Marjamäki 8d57cef7f9 Fixed #764 (usage of unitialized variable not detected) 2009-11-02 19:58:49 +01:00
Daniel Marjamäki 169bcfcff2 Fixed #882 (false positive: uninitialized variable) 2009-11-02 18:31:22 +01:00
Daniel Marjamäki 4abbe9ffd4 Fixed #889 (false positive: uninitialized variable) 2009-11-02 16:28:15 +01:00
Daniel Marjamäki 3e4dd22eed fixed todo testcase 2009-11-01 21:00:43 +01:00
Reijo Tomperi 618eed3d59 Fixed segmentation fault.
Had to change one test case to TODO for now.
2009-11-01 21:49:43 +02:00
Daniel Marjamäki 319cdc2b43 Fixed #880 (Tokenizer: The Tokenizer::simplifyTemplates doesn't handle recursive templates) 2009-11-01 19:03:52 +01:00
Daniel Marjamäki fec7acdc27 Templates: Better handling of recursive templates 2009-11-01 15:56:00 +01:00
Reijo Tomperi eebbc1b906 Fix #884 (False positive: Possible null pointer reference about a non-pointer)
http://sourceforge.net/apps/trac/cppcheck/ticket/884
2009-11-01 13:08:37 +02:00
Daniel Marjamäki 543d5cbf45 Fixed #831 (Exception safety: multiple new in a simple execution path) 2009-10-31 18:58:42 +01:00
Daniel Marjamäki c83d9cd786 Fixed #843 (new check: Passing uninitialized array to strlen/strdup/strcpy/strcat/etc) 2009-10-31 16:36:56 +01:00
Daniel Marjamäki 395ce30d81 Fixed #877 (False positive: After insert, iterator may be invalid) 2009-10-31 15:27:33 +01:00
Reijo Tomperi 344fdc1d7d Fix #685 (Include file not found is printed with -v when include file is empty)
http://sourceforge.net/apps/trac/cppcheck/ticket/685
2009-10-31 13:46:03 +02:00
Daniel Marjamäki a337708ae5 Fixed #430 (Tokenizer: handle templates with partial specialisation) 2009-10-31 12:34:52 +01:00
Daniel Marjamäki 266291baf4 Fixed #876 (false positive: uninitialized variable) 2009-10-31 10:30:32 +01:00
Daniel Marjamäki 45df223bfb Fixed #875 (Uninitialized variable: initialization in subfunction) 2009-10-30 18:28:01 +01:00
Daniel Marjamäki 6ac2b6ab14 uninitialized variables: return|goto are not used in variable declarations 2009-10-30 15:23:27 +01:00
Daniel Marjamäki 7dbf22aa3f null pointer: fixed false positive when condition checks if pointer is ok 2009-10-30 15:14:24 +01:00
Daniel Marjamäki feb065abc8 Fixed #867 (unused member function warning) 2009-10-30 15:00:13 +01:00
Daniel Marjamäki 2cf849a9b8 uninitialized variables: fixed false positive when switch is used 2009-10-30 14:52:20 +01:00
Daniel Marjamäki 765c824c6f Uninitialized pointers: It's allowed to dereference uninitialized non-pointer variables 2009-10-30 14:31:37 +01:00
Daniel Marjamäki 44a9c9b458 Fixed #874 (false positive: uninitialized variable) 2009-10-30 14:06:40 +01:00
Daniel Marjamäki 768225bb1b uninitialized variables: fixed false positives for member variables 2009-10-30 13:43:00 +01:00
Daniel Marjamäki c424d4c8af uninitialized variables: Added TODO testcase for removing false positives 2009-10-29 22:51:08 +01:00
Daniel Marjamäki c6d7fad84f uninitialized variables: added check 2009-10-29 21:34:43 +01:00
Reijo Tomperi 4a61bd0432 Fix #870 (The CheckClass::getVarList method detects 'const' as a variable name.)
http://sourceforge.net/apps/trac/cppcheck/ticket/870
2009-10-29 21:54:51 +02:00
Reijo Tomperi 504ae8e22d Fix #868 (False positive - buffer access out of bounds in for loop)
http://sourceforge.net/apps/trac/cppcheck/ticket/868
2009-10-29 16:04:23 +02:00
Reijo Tomperi 38e1a0e03d Minor fix to previous commit 2009-10-28 22:49:46 +02:00
Reijo Tomperi 9db22d9b48 Modify CheckBufferOverrun::checkGlobalAndLocalVariable() to use varid only.
Also add some TODO test cases.
2009-10-28 22:42:54 +02:00
Daniel Marjamäki 46328ae01a Renamed top-level cppcheck.pro to all.pro 2009-10-28 20:50:11 +01:00
Daniel Marjamäki ffb5bbd4d1 Visual Studio: Manually edited the vcproj files. The absolute paths were replaced with relative paths 2009-10-28 20:15:56 +01:00
Daniel Marjamäki 9212e7500e Restructuring: updated the top cppcheck.pro file 2009-10-28 18:35:30 +01:00
Daniel Marjamäki cba94feded Restructuring: Updated the Visual Studio project files. They are now generated by qmake 2009-10-28 17:37:38 +01:00
Daniel Marjamäki 0682db47a7 Memory leaks: Detect simple leak 2009-10-27 23:08:11 +01:00
Kimmo Varis fad29ca205 Make switching QT version easier in build batch files. 2009-10-27 23:59:37 +02:00
Daniel Marjamäki 8e3123ec1c Fixed #854 (invalid XML generated for folders containing &) 2009-10-27 22:10:14 +01:00
Daniel Marjamäki 45b0758e71 Fixed #860 (Improve double delete detection) 2009-10-27 21:28:03 +01:00
Daniel Marjamäki 9a1eb5c9e5 Restructuring: Updated the Borland C++ project file 2009-10-27 20:44:49 +01:00
Daniel Marjamäki f2106f96ad Restructuring: updated win_installer scripts 2009-10-27 20:22:11 +01:00
Reijo Tomperi 0e695ea527 Test case for #863 (false positive memset array of pointers)
http://sourceforge.net/apps/trac/cppcheck/ticket/863
2009-10-27 20:54:35 +02:00
Reijo Tomperi 59acfbc4df Fix #863 (false positive memset array of pointers)
http://sourceforge.net/apps/trac/cppcheck/ticket/863
Also fix test cases for 64 bit systems.
2009-10-27 20:23:45 +02:00
Daniel Marjamäki aab1519ab0 simple optimisation 2009-10-27 17:55:27 +01:00
Reijo Tomperi 0fc86924c6 Apply patches from polygon7 to fix #857 (Compilation error after refactoring the folder structure)
http://sourceforge.net/apps/trac/cppcheck/ticket/857
2009-10-27 11:28:36 +02:00
Reijo Tomperi 3be9f2e6cc astyle fix 2009-10-27 11:10:59 +02:00
Daniel Marjamäki 27761a6edc Restructuring: Updated the dependency walker 2009-10-26 22:36:36 +01:00
Daniel Marjamäki 2525b0131a Restructuring: Updated test/test.pro 2009-10-26 22:20:25 +01:00
Daniel Marjamäki 599b04afbf Refactoring: Changed pointer to reference 2009-10-26 21:31:36 +01:00
Daniel Marjamäki 7c2c1445ed Restructuring: Doxyfile updated 2009-10-26 17:57:28 +01:00
Daniel Marjamäki cacfa694b0 Restructuring: Generate coverage report 2009-10-26 17:56:56 +01:00
Reijo Tomperi cf62e8ce64 codeblocks project file updated 2009-10-25 22:28:43 +02:00
Daniel Marjamäki fce0548725 Refactoring: Updated Makefile 2009-10-25 21:25:07 +01:00