Commit Graph

3421 Commits

Author SHA1 Message Date
Daniel Marjamäki 54c5d53eac Fixed #1428 (False positive: (possible error) Memory leak when memory deleted in destructor) 2010-03-19 16:57:23 +01:00
Robert Reif 9c2248254e Here is a patch that adds support for derived structs and fixes a bug that missed some nested structs. (#1493) 2010-03-19 16:17:25 +01:00
Raphael Geissert d11004fa3d Fixed #1512 (incorrect handling of ndefs in the preprocessor) 2010-03-19 16:13:45 +01:00
Daniel Marjamäki c7bd437d7d astyle formatting 2010-03-19 16:12:51 +01:00
Daniel Marjamäki 95d22de690 Fixed #1508 (false positive : uninitialized variable) 2010-03-18 19:23:38 +01:00
Daniel Marjamäki 45987e5e9f doxygen: some updates to the lib/checkother 2010-03-18 18:59:55 +01:00
Robert Reif 5ea7e32bf9 Partial fix for #1493 (false positives: function can be const and struct or union member is never used) 2010-03-18 18:14:52 +01:00
Daniel Marjamäki e911d1f1df doxygen updates 2010-03-17 22:16:18 +01:00
Daniel Marjamäki 89719b023e unit testing: made Tokenizer functions public so they can be unit tested 2010-03-17 22:08:02 +01:00
Daniel Marjamäki 2441a79c7b unit testing: use const_cast instead of defines 2010-03-17 21:58:53 +01:00
Daniel Marjamäki 1b9747f552 doxygen: enabled the JAVADOC_AUTOBRIEF so the @brief isn't required 2010-03-17 21:29:45 +01:00
Daniel Marjamäki 1d0cd9c267 refactoring: no need to hide functions because the definition isn't seen by the core program anyway. 2010-03-17 21:26:56 +01:00
Robert Reif b3856cbc5e Fixed #1506 (typedef name hiding check combined with forward declaration leeds to false positive) 2010-03-17 17:31:08 +01:00
Daniel Marjamäki 12c45a1aba Fixed #1476 (false positive: Uninitialized variable) 2010-03-16 19:53:09 +01:00
Daniel Marjamäki 235404077f Fixed #1501 (false positive: Variable 'n' is assigned a value that is never used) 2010-03-16 19:25:10 +01:00
Daniel Marjamäki 15d67a2369 Fixed #1503 (False positive for uninitialized variable) 2010-03-16 19:09:37 +01:00
Robert Reif 89c57c72c5 small const fix 2010-03-16 07:31:40 +01:00
Kimmo Varis 904597a8ce Installer: Use product name as start menu shortcut item name. 2010-03-15 22:09:14 +02:00
Kimmo Varis 636bcd8a47 Installer: Move couple of strings to productInfo.wxi. 2010-03-15 20:10:42 +02:00
Daniel Marjamäki 9d822c77aa doxygen: Some comments for CheckOther, added @todo to Token::Match 2010-03-14 19:11:03 +01:00
Daniel Marjamäki 933289a6d7 doxygen: updated comments for Cppcheck and FileLister 2010-03-14 18:55:33 +01:00
Daniel Marjamäki 7c4db433ec doxygen: fixed warning messages 2010-03-14 18:18:17 +01:00
Daniel Marjamäki 382e41d92a Fixed #1494 (Improve Tokenizer::simplifyKnownVariables to handle for loops better) 2010-03-14 09:57:34 +01:00
Daniel Marjamäki 7afdd8db31 doxygen: removed DETAILS_AT_TOP to get rid of warnings that it is deprecated 2010-03-14 08:03:22 +01:00
Daniel Marjamäki 7bcb7897e4 doxygen: fixed error messages 2010-03-14 07:48:44 +01:00
Daniel Marjamäki e4a45aefe2 doxygen: fixed warning messages 2010-03-13 22:16:06 +01:00
Daniel Marjamäki c5e0104ab8 doxygen: updated comments for ErrorLogger and Severity 2010-03-13 21:49:09 +01:00
Daniel Marjamäki 30d3418b11 doxygen: added more comments for CheckNullPointer and CheckUninitVar 2010-03-13 21:42:59 +01:00
Daniel Marjamäki 9b550a3f87 doxygen: added comments 2010-03-13 21:12:18 +01:00
Daniel Marjamäki 9fe9be1ea9 Fixed #1465 (false positive: unintialized class member) 2010-03-13 20:24:39 +01:00
Daniel Marjamäki 65ae37de2f Fixed #1460 (false positive: memory leak when using throw no_memory) 2010-03-13 17:11:48 +01:00
Daniel Marjamäki 772aa95c8a Fixed #1477 (false positive: Uninitialized variable when pointer given to struct) 2010-03-13 11:52:48 +01:00
Robert Reif 846a3a0186 Fixed #1491 (False positive when putting an access specifier at the end of a class declaration) 2010-03-13 08:06:20 +01:00
Daniel Marjamäki f7662b094d astyle formatting 2010-03-13 08:05:07 +01:00
Daniel Marjamäki 48a63e4c35 gcc: removed -Wlogical-op that is not supported by old GCC 2010-03-13 08:03:30 +01:00
Daniel Marjamäki 8c91c98dc6 Borland C++: Updated project files 2010-03-13 07:41:00 +01:00
Robert Reif f552ca5462 Fixed #1482 (Improve check const-function: function can be made const when assignment not to member variable (false negative)) 2010-03-12 18:30:20 +01:00
Kimmo Varis 4cad4410ba Fix ignoring filelister_unix.cpp code in Windows. 2010-03-12 17:28:55 +02:00
Kimmo Varis 95cbb60974 Fix compiling tests. 2010-03-12 17:21:41 +02:00
Daniel Marjamäki 7ea37de329 astyle formatting 2010-03-12 07:23:53 +01:00
Kimmo Varis 66448b41ac Restore and fix tools Makefile. Fix include lines. 2010-03-11 22:55:31 +02:00
Kimmo Varis b746e9d4be Fix dmake for Windows. 2010-03-11 22:30:06 +02:00
Kimmo Varis a7996ab252 Fix compiling in Linux. Fix compiling dmake. 2010-03-11 22:15:15 +02:00
Kimmo Varis 9b16fd7be4 Add Unix/Linux version of FileLister and do some cleanups. 2010-03-11 22:12:27 +02:00
Kimmo Varis 27d06855b4 Remove Win32 implementation from common file. 2010-03-11 21:58:59 +02:00
Kimmo Varis d1bbcf1734 Implement Win32 FileLister as separate class.
Improve the system used to have separate versions of code of FileLister for
Win32 and Linux. New idea is to have Base FileLister class implementing
common code and then derived classes for Win32 and Linux specific code.

FileLister is not anymore a static class. Instead we use singleton of
derived class.
2010-03-11 21:58:59 +02:00
Daniel Marjamäki 4981cc5843 Fixed #1489 (Makefile creates debug version) 2010-03-10 17:20:34 +01:00
Daniel Marjamäki 587081cab5 Fixed #1488 (Invalid warning about shadowed variable) 2010-03-10 16:47:39 +01:00
Robert Reif 09ab841789 Fixed #1486 (--errorlist shows two identical id values) 2010-03-10 07:47:01 +01:00
Daniel Marjamäki 525a027b77 Merge branch 'master' of git@github.com:danmar/cppcheck 2010-03-09 19:48:33 +01:00